Fix use-package load errors on 'doom install'
This commit is contained in:
parent
2b8388079b
commit
e16c410b2a
1 changed files with 7 additions and 1 deletions
|
@ -58,7 +58,13 @@ DOOMDIR environment variable. e.g.
|
|||
|
||||
;; In case no init.el was present the first time `doom-initialize-modules' was
|
||||
;; called in core.el (e.g. on first install)
|
||||
(doom-initialize-modules 'force)
|
||||
(ignore-errors (load! "init" doom-private-dir t))
|
||||
(when doom-modules
|
||||
(maphash (lambda (key plist)
|
||||
(let ((doom--current-module key)
|
||||
(doom--current-flags (plist-get plist :flags)))
|
||||
(load! "init" (plist-get plist :path) t)))
|
||||
doom-modules))
|
||||
|
||||
;; Ask if user would like an envvar file generated
|
||||
(if noenv-p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue