Fix gcmh-mode not being activated at startup
This commit is contained in:
parent
f4ff7fda38
commit
97a3950ec8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue