diff options
| -rw-r--r-- | emacs-config.org | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/emacs-config.org b/emacs-config.org index c81841c..0f24ff2 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -5,11 +5,13 @@ * General ** Early Init -Enlarge garbage collection to speed up startup. +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))) + (setq + load-prefer-newer t + gc-cons-threshold most-positive-fixnum) + (add-hook 'emacs-startup-hook (lambda () + (setq gc-cons-threshold 800000))) #+end_src Ensure dark background on startup. |
