mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
doom//byte-recompile-plugins: use non-interactive session
May indirectly solve #428
This commit is contained in:
@ -741,7 +741,11 @@ If RECOMPILE-P is non-nil, only recompile out-of-date core files."
|
||||
"Recompile all installed plugins. If you're getting odd errors after upgrading
|
||||
(or downgrading) Emacs, this may fix it."
|
||||
(interactive)
|
||||
(byte-recompile-directory package-user-dir 0 t))
|
||||
(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-recompile-plugins)
|
||||
(byte-recompile-directory package-user-dir 0 t)))
|
||||
|
||||
(defun doom//clean-byte-compiled-files ()
|
||||
"Delete all the compiled elc files in your Emacs configuration. This excludes
|
||||
|
Reference in New Issue
Block a user