fix(cli): remove vestigial doom-initialize-modules calls

Fix: #6784
This commit is contained in:
Henrik Lissner 2022-09-16 10:29:52 +02:00
parent ab9896c526
commit 7ea4b21953
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 4 additions and 8 deletions

View file

@ -94,11 +94,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
(doom-log "Reloading Doom in preparation for byte-compilation")
;; But first we must be sure that Doom and your private config have been
;; fully loaded. Which usually aren't so in an noninteractive session.
(let ((load-prefer-newer t)
(noninteractive t))
(require 'doom-start)
(quiet! (doom-initialize-packages))
(quiet! (doom-initialize-modules))))
(let ((load-prefer-newer t))
(require 'doom-start)))
(if (null targets)
(print! (item "No targets to %scompile" (if recompile-p "re" "")))