diff options
-rw-r--r-- | common/.config/emacs/early-init.el.org | 5 | ||||
-rw-r--r-- | common/.config/emacs/init.el.org | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/common/.config/emacs/early-init.el.org b/common/.config/emacs/early-init.el.org index 4a4d7d5..3eab8f9 100644 --- a/common/.config/emacs/early-init.el.org +++ b/common/.config/emacs/early-init.el.org @@ -1,5 +1,10 @@ #+title: Emacs Early Initialization +Set high =gc-cons-threshold= while booting. +#+begin_src emacs-lisp + (setq gc-cons-threshold most-positive-fixnum) +#+end_src + Disable =package.el= at startup so that =elpaca= can enable it on its own. #+begin_src emacs-lisp (setq package-enable-at-startup nil) diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org index 308ea93..45fe232 100644 --- a/common/.config/emacs/init.el.org +++ b/common/.config/emacs/init.el.org @@ -552,3 +552,8 @@ Set up =eglot= to run on languages that have been configured. (tree-sitter-mode 1) (tree-sitter-hl-mode 1)))) #+end_src + +Set =gc-cons-threshold= to a normal value while running. +#+begin_src emacs-lisp + (setq gc-cons-threshold 800000) +#+end_src |