mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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))
|
||||
|
Reference in New Issue
Block a user