Update README.md
This commit is contained in:
15
README.md
15
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``:
|
||||
|
||||
Reference in New Issue
Block a user