Fix error when private init.el doesn't exist
Found in doom-initialize-packages, which DOOM calls in many noninteractive functions.
This commit is contained in:
parent
75293c8d8c
commit
9039707184
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ This aggressively reloads core autoload files."
|
|||
(when (or force-p (not doom-modules))
|
||||
(setq doom-modules nil)
|
||||
(funcall load-fn (expand-file-name "init.el" doom-emacs-dir))
|
||||
(funcall load-fn (doom-module-path :private user-login-name "init.el"))
|
||||
(funcall load-fn (doom-module-path :private user-login-name "init.el") t)
|
||||
(when load-p
|
||||
(cl-loop for file
|
||||
in (append (nreverse (file-expand-wildcards (expand-file-name "core*.el" doom-core-dir)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue