mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix interactive usage of doom//byte-compile-core
This commit is contained in:
@ -680,7 +680,11 @@ likely change core files directly).
|
||||
|
||||
If RECOMPILE-P is non-nil, only recompile out-of-date core files."
|
||||
(interactive "P")
|
||||
(doom//byte-compile (list "core") recompile-p))
|
||||
(if (not noninteractive)
|
||||
;; This is done in another instance to protect the current session's
|
||||
;; state. `doom-initialize-packages' will have side effects otherwise.
|
||||
(doom-packages--async-run 'doom//byte-compile-core)
|
||||
(doom//byte-compile (list "core") recompile-p)))
|
||||
|
||||
(defun doom//byte-recompile-plugins ()
|
||||
"Recompile all installed plugins. If you're getting odd errors after upgrading
|
||||
|
Reference in New Issue
Block a user