Only reset gc-cons-threshold during user startup
This commit is contained in:
parent
a74218f490
commit
a2ab903003
1 changed files with 4 additions and 3 deletions
|
@ -162,9 +162,10 @@ ability to invoke the debugger in debug mode."
|
|||
;; Initialize
|
||||
(eval-and-compile
|
||||
(defvar doom--file-name-handler-alist file-name-handler-alist)
|
||||
(setq gc-cons-threshold 402653184
|
||||
gc-cons-percentage 0.6
|
||||
file-name-handler-alist nil)
|
||||
(unless (or after-init-time noninteractive)
|
||||
(setq gc-cons-threshold 402653184
|
||||
gc-cons-percentage 0.6
|
||||
file-name-handler-alist nil))
|
||||
|
||||
(require 'core-packages (concat doom-core-dir "core-packages"))
|
||||
(eval-when-compile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue