summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-12-09 16:59:49 +0100
committerAlan Pearce2015-12-09 16:59:49 +0100
commitfd9d7a3ec850d44fbefe9c45922c1caa112343e4 (patch)
tree8e81eca2ae2d3be909ffca5852ea08ed5fa944e8 /tag-emacs
parent6062344d20ae6a28f24cc0278d1b74d1a6e7d37a (diff)
downloadnixfiles-fd9d7a3ec850d44fbefe9c45922c1caa112343e4.tar.lz
nixfiles-fd9d7a3ec850d44fbefe9c45922c1caa112343e4.tar.zst
nixfiles-fd9d7a3ec850d44fbefe9c45922c1caa112343e4.zip
Emacs: Reduce GC usage at startup
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 00f06f53..1b7a03e9 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -10,6 +10,7 @@ Open Emacs with just a plain window. No graphics or messages, please!
 #+BEGIN_SRC emacs-lisp
   (setq inhibit-startup-echo-area-message "alan")
   (setq inhibit-startup-screen t)
+  (setq gc-cons-threshold 100000000)
 #+END_SRC
 
 ** Scratch buffers
@@ -2433,4 +2434,5 @@ Start a server if possible.  A daemon is already a server.
         (message "Server already appears to be running")
       (server-start)))
   (benchmark-init/deactivate)
+  (setq gc-cons-threshold 800000)
 #+END_SRC