diff options
| author | Blake Romero <blake@developercraft.com> | 2025-10-12 18:10:16 +0100 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2025-10-12 18:10:16 +0100 |
| commit | 98cf12ec88cfbf49f3dc88e596919656f6d97097 (patch) | |
| tree | 84bdb5a1ef5a7905561fe8472b1e68008bfd512f /emacs-config.org | |
| parent | 369e00b69fe9525208904dbe8a9710e999cfe38a (diff) | |
Increase gc threshold on startup
Diffstat (limited to 'emacs-config.org')
| -rw-r--r-- | emacs-config.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs-config.org b/emacs-config.org index 222ab25..62b7da8 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -5,6 +5,13 @@ * General ** Early Init +Enlarge garbage collection to speed up startup. +#+begin_src elisp :tangle "~/.config/emacs/early-init.el" + (setq gc-cons-threshold most-positive-fixnum) + (add-hook 'after-init-hook (lambda () + (setq gc-cons-threshold 800000))) +#+end_src + Ensure dark background on startup. #+begin_src elisp :tangle "~/.config/emacs/early-init.el" (setq default-frame-alist '((background-color . "#000000") |
