summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rwxr-xr-x.emacs.d/init.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 96b81da..a0cb8a0 100755
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -3,7 +3,13 @@
3 3
4;;; Code: 4;;; Code:
5 5
6(setq gc-cons-threshold (* 50 1000 1000)) 6;; Minimize garbage collection during startup
7(setq gc-cons-threshold most-positive-fixnum)
8
9;; Lower threshold back to 8 MiB (default is 800kB)
10(add-hook 'emacs-startup-hook
11 (lambda ()
12 (setq gc-cons-threshold (expt 2 23))))
7 13
8(defvar jd/manifest-list 14(defvar jd/manifest-list
9 nil 15 nil
@@ -119,7 +125,7 @@
119(when jd/exwm-p 125(when jd/exwm-p
120 (require 'jd-exwm)) 126 (require 'jd-exwm))
121 127
122(setq gc-cons-threshold (* 2 1000 1000)) 128;; (setq gc-cons-threshold (* 2 1000 1000))
123 129
124;;; init.el ends here 130;;; init.el ends here
125(put 'upcase-region 'disabled nil) 131(put 'upcase-region 'disabled nil)