Fix bin/doom compile error introduced by e2a11d24fd
With a commit of e2a11d24fd
, when it comes to
`doom compile`, modules aren't loaded anymore, which corrupts the compiling process.
What I did is just adding the necessity parts for the doom's byte compiler.
This commit is contained in:
parent
b092d79d35
commit
fef242aa34
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
||||||
(noninteractive t)
|
(noninteractive t)
|
||||||
doom-interactive-p)
|
doom-interactive-p)
|
||||||
(doom-initialize 'force)
|
(doom-initialize 'force)
|
||||||
(quiet! (doom-initialize-packages))))
|
(quiet! (doom-initialize-packages))
|
||||||
|
(quiet! (doom-initialize-modules))))
|
||||||
|
|
||||||
(if (null targets)
|
(if (null targets)
|
||||||
(print! (info "No targets to %scompile" (if recompile-p "re" "")))
|
(print! (info "No targets to %scompile" (if recompile-p "re" "")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue