about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/personal.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-08-09 16:44:42 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-08-09 16:44:42 +0100
commit707ce10be656ed76f375c721c18a3fcbd572d778 (patch)
tree2f7f154d74c3ab6ded15f37dccd50e74d06dda60 /emacs-prelude/personal/personal.el
parent16764da88568497c148f312157deb3de79678517 (diff)
downloaddotfiles-707ce10be656ed76f375c721c18a3fcbd572d778.tar.gz
Play around with modus some more, and improve startup speed
Diffstat (limited to 'emacs-prelude/personal/personal.el')
-rw-r--r--emacs-prelude/personal/personal.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs-prelude/personal/personal.el b/emacs-prelude/personal/personal.el
index dd09228..b5a1284 100644
--- a/emacs-prelude/personal/personal.el
+++ b/emacs-prelude/personal/personal.el
@@ -15,6 +15,10 @@
 (require 'init-mac)
 (require 'init-misc)
 
+(add-hook 'after-init-hook '(lambda ()
+                              (setq gc-cons-threshold (* 100 1024 1024)
+                                    gc-cons-percentage 0.1)))
+
 (global-unset-key (kbd "<left>"))
 (global-unset-key (kbd "<right>"))
 (global-unset-key (kbd "<up>"))