Fix #2103: logic error initializing gcmh-mode
This commit is contained in:
parent
2dc50f49fc
commit
34500c9177
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ users).")
|
||||||
|
|
||||||
;; Adopt a sneaky garbage collection strategy of waiting until idle time to
|
;; Adopt a sneaky garbage collection strategy of waiting until idle time to
|
||||||
;; collect and staving off the collector while the user is working.
|
;; collect and staving off the collector while the user is working.
|
||||||
(unless doom-interactive-mode
|
(when doom-interactive-mode
|
||||||
(add-transient-hook! 'pre-command-hook (gcmh-mode +1))
|
(add-transient-hook! 'pre-command-hook (gcmh-mode +1))
|
||||||
(with-eval-after-load 'gcmh
|
(with-eval-after-load 'gcmh
|
||||||
(setq gcmh-idle-delay 10
|
(setq gcmh-idle-delay 10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue