Catch more *.elc files with bin/doom clean

This commit is contained in:
Henrik Lissner 2018-06-10 17:22:57 +02:00
parent 383ecf7a08
commit 3498d5c6b1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -379,7 +379,7 @@ module. This does not include your byte-compiled, third party packages.'"
(interactive)
(cl-loop with default-directory = doom-emacs-dir
for path in (append (doom-files-in doom-emacs-dir :match "\\.elc$" :depth 1)
(doom-files-in doom-private-dir :match "\\.elc$" :depth 1)
(doom-files-in doom-private-dir :match "\\.elc$" :depth 2)
(doom-files-in doom-core-dir :match "\\.elc$")
(doom-files-in doom-modules-dirs :match "\\.elc$" :depth 4))
for truepath = (file-truename path)