about summary refs log tree commit diff stats
path: root/config.org
diff options
context:
space:
mode:
authorCase Duckworth2020-11-24 08:31:31 -0600
committerCase Duckworth2020-11-24 08:31:31 -0600
commitd0a6d2b0dc9dddf18b2e24edae817be464b72e37 (patch)
treeaec298cbd40cbfe11d21393c0e81220ead999b99 /config.org
parentAdd About me section (diff)
downloademacs-d0a6d2b0dc9dddf18b2e24edae817be464b72e37.tar.gz
emacs-d0a6d2b0dc9dddf18b2e24edae817be464b72e37.zip
Increase garbage collector early in init
Diffstat (limited to 'config.org')
-rw-r--r--config.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/config.org b/config.org index 624f3be..9a8e8fb 100644 --- a/config.org +++ b/config.org
@@ -103,6 +103,18 @@ It's highly likely that the WTFPL is completely incompatible with the GPL, for w
103 103
104#+end_src 104#+end_src
105 105
106** Increase the garbage collector
107
108#+begin_src emacs-lisp :tangle early-init.el
109 (setq gc-cons-threshold (* 100 100 1000))
110
111 (add-hook 'after-init-hook
112 (lambda ()
113 (setq gc-cons-threshold (* 100 100 100))
114 (message "gc-cons-threshold restored to %S"
115 gc-cons-threshold)))
116#+end_src
117
106** Add more paths to the =exec-path= when using Windows 118** Add more paths to the =exec-path= when using Windows
107 119
108#+begin_src emacs-lisp :tangle early-init.el 120#+begin_src emacs-lisp :tangle early-init.el