From 8ded4819e2f8d4756f7ea1228235163640b1db31 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 20 Feb 2017 22:10:29 -0500 Subject: [PATCH] Adjust gc-cons --- core/core.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index ffe379cdc..ccb211979 100644 --- a/core/core.el +++ b/core/core.el @@ -125,7 +125,7 @@ enable multiple minor modes for the same regexp.") ;;; ;; Bootstrap -(setq gc-cons-threshold 339430400 +(setq gc-cons-threshold 402653184 gc-cons-percentage 0.6) (let (file-name-handler-list) @@ -148,5 +148,9 @@ enable multiple minor modes for the same regexp.") (require 'core-projects) ; making Emacs project-aware (require 'core-keybinds))) ; centralized keybind system + which-key +(@add-hook 'window-setup-hook + (setq gc-cons-threshold 134217728 + gc-cons-percentage 0.3)) + (provide 'core) ;;; core.el ends here