mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Don't prompt when byte-compiling plugins
The warning only applies to full byte-compilation of your config.
This commit is contained in:
@ -294,6 +294,10 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||||||
(intern (match-string 2 module)))
|
(intern (match-string 2 module)))
|
||||||
targets))))
|
targets))))
|
||||||
(cl-block 'byte-compile
|
(cl-block 'byte-compile
|
||||||
|
;; If we're just here to byte-compile our plugins, we're done!
|
||||||
|
(and (not modules)
|
||||||
|
compile-plugins-p
|
||||||
|
(cl-return-from 'byte-compile t))
|
||||||
(unless (or (equal modules '(":core"))
|
(unless (or (equal modules '(":core"))
|
||||||
recompile-p)
|
recompile-p)
|
||||||
(unless (and (not doom-auto-accept)
|
(unless (and (not doom-auto-accept)
|
||||||
@ -308,10 +312,6 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||||||
"Byte-compile anyway?")))
|
"Byte-compile anyway?")))
|
||||||
(message "Aborting.")
|
(message "Aborting.")
|
||||||
(cl-return-from 'byte-compile)))
|
(cl-return-from 'byte-compile)))
|
||||||
;; If we're just here to byte-compile our plugins, we're done!
|
|
||||||
(and (not modules)
|
|
||||||
compile-plugins-p
|
|
||||||
(cl-return-from 'byte-compile t))
|
|
||||||
(unless recompile-p
|
(unless recompile-p
|
||||||
(doom//clean-byte-compiled-files))
|
(doom//clean-byte-compiled-files))
|
||||||
(unless targets
|
(unless targets
|
||||||
|
Reference in New Issue
Block a user