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:
parent
32954ecb69
commit
f6c7c13634
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue