summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs-config.org7
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")