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)
|
(n 0)
|
||||||
results)
|
results)
|
||||||
(dolist (path (doom--module-paths))
|
(dolist (path (doom--module-paths))
|
||||||
(nconc targets
|
(nconc targets (reverse (directory-files-recursively path "\\.el$"))))
|
||||||
(cl-remove-if (lambda (file)
|
|
||||||
(let ((fname (file-name-nondirectory file)))
|
|
||||||
(or (string= fname ".")
|
|
||||||
(string= fname ".."))))
|
|
||||||
(reverse
|
|
||||||
(directory-files-recursively path "\\.el$")))))
|
|
||||||
(dolist (file targets)
|
(dolist (file targets)
|
||||||
(push (cons (file-relative-name file doom-emacs-dir)
|
(push (cons (file-relative-name file doom-emacs-dir)
|
||||||
(and (byte-recompile-file file nil 0)
|
(and (byte-recompile-file file nil 0)
|
||||||
|
Reference in New Issue
Block a user