summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
authorCase Duckworth2022-06-08 17:59:53 -0500
committerCase Duckworth2022-06-08 17:59:53 -0500
commitaf3eb37c8e51084261f2ad4bfe1d36fffbcfaebf (patch)
tree5555dc7a42ce8d226a9cbd1e68ba4f760b42f22b /early-init.el
parentAdd link to new server (diff)
downloademacs-af3eb37c8e51084261f2ad4bfe1d36fffbcfaebf.tar.gz
emacs-af3eb37c8e51084261f2ad4bfe1d36fffbcfaebf.zip
blep
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/early-init.el b/early-init.el index 12e2b0d..5109795 100644 --- a/early-init.el +++ b/early-init.el
@@ -44,7 +44,12 @@ restore that."
44 (set-default variable value))) 44 (set-default variable value)))
45 45
46;; Garbage collection 46;; Garbage collection
47(+set-during-startup 'gc-cons-threshold most-positive-fixnum (* 128 1024 1024)) 47(+set-during-startup 'gc-cons-threshold most-positive-fixnum)
48
49(add-hook 'minibuffer-setup-hook (defun garbage-collect@minibuffer-enter ()
50 (setq gc-cons-threshold most-positive-fixnum)))
51(add-hook 'minibuffer-exit-hook (defun garbage-collect@minibuffer-exit ()
52 (setq gc-cons-threshold 800000)))
48 53
49;; Don't prematurely re-display 54;; Don't prematurely re-display
50(unless debug-on-error 55(unless debug-on-error