mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
doom/recompile: remove redundant filter
This commit is contained in:
@ -437,13 +437,7 @@ This may take a while."
|
||||
(n 0)
|
||||
results)
|
||||
(dolist (path (doom--module-paths))
|
||||
(nconc targets
|
||||
(cl-remove-if (lambda (file)
|
||||
(let ((fname (file-name-nondirectory file)))
|
||||
(or (string= fname ".")
|
||||
(string= fname ".."))))
|
||||
(reverse
|
||||
(directory-files-recursively path "\\.el$")))))
|
||||
(nconc targets (reverse (directory-files-recursively path "\\.el$"))))
|
||||
(dolist (file targets)
|
||||
(push (cons (file-relative-name file doom-emacs-dir)
|
||||
(and (byte-recompile-file file nil 0)
|
||||
|
Reference in New Issue
Block a user