From fac45df196604d3f9225c3b3c9318c6c268d97a9 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sat, 31 Aug 2024 10:07:04 -0400 Subject: [PATCH] Update README.md --- README.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/README.md b/README.md index 246f36b..4fc3b1d 100644 --- a/README.md +++ b/README.md @@ -530,21 +530,6 @@ To configure `corfu` and `cape`, add the following to `~/.emacs.d/post-init.el`: (add-hook 'completion-at-point-functions #'cape-elisp-block)) ``` -### Optimization: How to activate the Garbage Collector Magic Hack (gcmh-mode) - -The Garbage Collector Magic Hack (gcmh-mode) optimizes Emacs' garbage collection process, reducing the frequency of garbage collection during normal operations and only performing it during idle times. This results in smoother performance and fewer interruptions, especially during intensive tasks or when working with large files. - -To activate gcmh-mode, add the following to the beginning of `~/.emacs.d/post-init.el`, before all other `use-package` statements: -``` emacs-lisp -(use-package gcmh - :ensure t - :hook (after-init . gcmh-mode) - :custom - (gcmh-idle-delay 'auto) - (gcmh-auto-idle-delay-factor 10) - (gcmh-low-cons-threshold minimal-emacs-gc-cons-threshold)) -``` - ### How to enable dialogs, context menu, tool-bar, menu-bar, and tooltips? To customize your Emacs setup to include various user interface elements, you can use the following settings in your ``~/.emacs.d/pre-early-init.el``: