Minor refactors & reformatting

This commit is contained in:
Henrik Lissner 2020-10-22 16:11:31 -04:00
parent 9bbdacc79b
commit a6959b75f3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 10 additions and 10 deletions

View file

@ -222,9 +222,9 @@ list remains lean."
"Queue async compilation for all non-doom Elisp files." "Queue async compilation for all non-doom Elisp files."
(when (fboundp 'native-compile-async) (when (fboundp 'native-compile-async)
(cl-loop with paths = (cl-loop for path in load-path (cl-loop with paths = (cl-loop for path in load-path
if (not (string-prefix-p doom-local-dir path)) unless (string-prefix-p doom-local-dir path)
collect path) collect path)
for file in (doom-files-in paths :match "\\.el\\(\\.gz\\)?$") for file in (doom-files-in paths :match "\\.el\\(?:\\.gz\\)?$")
if (and (file-exists-p (byte-compile-dest-file file)) if (and (file-exists-p (byte-compile-dest-file file))
(not (doom--find-eln-file (doom--eln-file-name file)))) do (not (doom--find-eln-file (doom--eln-file-name file)))) do
(doom-log "Compiling %s" file) (doom-log "Compiling %s" file)