mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix make clean printing long, relative paths in output
This commit is contained in:
@ -680,13 +680,13 @@ If RECOMPILE-P is non-nil, only recompile out-of-date core files."
|
|||||||
(byte-recompile-directory package-user-dir 0 t))
|
(byte-recompile-directory package-user-dir 0 t))
|
||||||
|
|
||||||
(defun doom//clean-byte-compiled-files ()
|
(defun doom//clean-byte-compiled-files ()
|
||||||
"Delete all the compiled elc files in your Emacs configuration.
|
"Delete all the compiled elc files in your Emacs configuration. This excludes
|
||||||
|
compiled packages.'"
|
||||||
This excludes compiled packages in `doom-packages-dir'.'"
|
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((targets (append (list (expand-file-name "init.elc" doom-emacs-dir))
|
(let ((targets (append (list (expand-file-name "init.elc" doom-emacs-dir))
|
||||||
(directory-files-recursively doom-core-dir "\\.elc$")
|
(directory-files-recursively doom-core-dir "\\.elc$")
|
||||||
(directory-files-recursively doom-modules-dir "\\.elc$"))))
|
(directory-files-recursively doom-modules-dir "\\.elc$")))
|
||||||
|
(default-directory doom-emacs-dir))
|
||||||
(unless (cl-loop for path in targets
|
(unless (cl-loop for path in targets
|
||||||
if (file-exists-p path)
|
if (file-exists-p path)
|
||||||
collect path
|
collect path
|
||||||
|
Reference in New Issue
Block a user