mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-16 15:56:52 -05:00
Fix gcmh-mode not being activated at startup
This commit is contained in:
@@ -292,6 +292,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; staving off the collector while the user is working.
|
;; collect; staving off the collector while the user is working.
|
||||||
(setq gc-cons-percentage 0.6)
|
(setq gc-cons-percentage 0.6)
|
||||||
|
(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
|
||||||
gcmh-high-cons-threshold 16777216
|
gcmh-high-cons-threshold 16777216
|
||||||
|
Reference in New Issue
Block a user