Preload modules before compiling #219

This commit is contained in:
Henrik Lissner 2017-10-05 12:38:23 +02:00
parent eefcf7803f
commit c9632a7d8b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -206,7 +206,8 @@ This aggressively reloads core autoload files."
:error))))))
(when (or force-p (not doom-modules))
(setq doom-modules nil)
(funcall load-fn (expand-file-name "init.el" doom-emacs-dir))
(let (noninteractive)
(funcall load-fn (expand-file-name "init.el" doom-emacs-dir)))
(when load-p
(let (noninteractive)
(funcall load-fn (doom-module-path :private user-login-name "init.el") t)