Appease byte-compiler senpai
This commit is contained in:
parent
ac514d7a0c
commit
6a5bd216e5
12 changed files with 28 additions and 26 deletions
|
@ -592,10 +592,11 @@ If ONLY-RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||
else if (file-exists-p path)
|
||||
collect path)))
|
||||
(dolist (file el-files)
|
||||
(when (or (not only-recompile-p)
|
||||
(let ((elc-file (byte-compile-dest-file file)))
|
||||
(and (file-exists-p elc-file)
|
||||
(file-newer-than-file-p file elc-file))))
|
||||
(when (and (not (string-match-p "/test/.+\\.el$" file))
|
||||
(or (not only-recompile-p)
|
||||
(let ((elc-file (byte-compile-dest-file file)))
|
||||
(and (file-exists-p elc-file)
|
||||
(file-newer-than-file-p file elc-file)))))
|
||||
(let ((result (byte-compile-file file))
|
||||
(short-name (file-relative-name file doom-emacs-dir)))
|
||||
(cl-incf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue