mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Clean up elcs only if compiling core or everything
Sometimes we only want to compile one module, without getting rid of all our other compiled files.
This commit is contained in:
@ -711,7 +711,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
||||
(message "Aborting.")
|
||||
(cl-return-from 'byte-compile)))
|
||||
(unless recompile-p
|
||||
(doom-clean-byte-compiled-files)
|
||||
(when (or (null modules) (equal modules '(":core")))
|
||||
(doom-clean-byte-compiled-files))
|
||||
(doom-reload-autoloads))
|
||||
(let (doom-emacs-changed-p
|
||||
noninteractive)
|
||||
|
Reference in New Issue
Block a user