Call doom|finalize after doom-initialize-packages
doom-initialize-packages re-initializes certain important variables, like gc-cons-threshold (which causes intermittent freezing when set too high), without resetting them to sensible defaults. This ensures those variable are reset afterwards.
This commit is contained in:
parent
345b704a0d
commit
e44f5d0457
1 changed files with 2 additions and 1 deletions
|
@ -205,7 +205,8 @@ This aggressively reloads core autoload files."
|
|||
in (append (nreverse (file-expand-wildcards (expand-file-name "core*.el" doom-core-dir)))
|
||||
(file-expand-wildcards (expand-file-name "autoload/*.el" doom-core-dir))
|
||||
(doom--module-paths "config.el"))
|
||||
do (funcall load-fn file t))))
|
||||
do (funcall load-fn file t)))
|
||||
(doom|finalize))
|
||||
(when (or force-p (not doom-packages))
|
||||
(setq doom-packages nil)
|
||||
(funcall load-fn (expand-file-name "packages.el" doom-core-dir))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue