diff options
| author | Blake Romero <blake@developercraft.com> | 2025-10-15 19:44:03 +0100 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2025-10-15 19:44:03 +0100 |
| commit | 673d3124bb4de5ba9acfba34fba318690ab7874c (patch) | |
| tree | 20c325ba982bc00b9a1d0c4afdf924482ebb7384 | |
| parent | e9627944d8f707cd19c3880af812034ff6537d0b (diff) | |
Reset gc-cons-threshold later in startup
| -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. |
