From fd9d7a3ec850d44fbefe9c45922c1caa112343e4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 9 Dec 2015 16:59:49 +0100 Subject: Emacs: Reduce GC usage at startup --- tag-emacs/emacs.d/init.org | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-emacs/emacs.d') 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 -- cgit 1.4.1