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)

View file

@ -24,7 +24,7 @@
(and (require 'xclip nil t) (and (require 'xclip nil t)
(xclip-mode +1))))) (xclip-mode +1)))))
(when (featurep! :editor evil) (when (featurep! :editor evil)
;; Fix cursor shape-changing in the terminal. Only supported in XTerm, Gnome ;; Fix cursor shape-changing in the terminal. Only supported in XTerm, Gnome
;; Terminal, iTerm, Konsole, dumb (etc. mintty), and Apple Terminal.app. If ;; Terminal, iTerm, Konsole, dumb (etc. mintty), and Apple Terminal.app. If
;; using Apple Terminal.app, install ;; using Apple Terminal.app, install