From 97a3950ec85709808475368f606d144de9622743 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 27 Mar 2020 05:20:02 -0400 Subject: [PATCH] Fix gcmh-mode not being activated at startup --- core/core.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core.el b/core/core.el index 23dc09f97..64c0fda4a 100644 --- a/core/core.el +++ b/core/core.el @@ -292,6 +292,7 @@ users).") ;; Adopt a sneaky garbage collection strategy of waiting until idle time to ;; collect; staving off the collector while the user is working. (setq gc-cons-percentage 0.6) +(add-transient-hook! 'pre-command-hook (gcmh-mode +1)) (with-eval-after-load 'gcmh (setq gcmh-idle-delay 10 gcmh-high-cons-threshold 16777216