Make interactive doom/compile less destructive
It would reload all files; which is harmless, but does unnecessarily inflate variables that get push-ed or nconc-ed to. It's best to compile from the command line.
This commit is contained in:
parent
f4e3080432
commit
345b704a0d
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ If ONLY-RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||
(interactive "P")
|
||||
;; Ensure all relevant config files are loaded and up-to-date. This way we
|
||||
;; don't need eval-when-compile and require blocks scattered all over.
|
||||
(doom-initialize-packages t t)
|
||||
(doom-initialize-packages t noninteractive)
|
||||
(let ((targets
|
||||
(cond ((equal (car command-line-args-left) "--")
|
||||
(cl-loop for file in (cdr command-line-args-left)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue