doom//byte-compile: cl-pushnew => push (redundant w/ cl-delete-duplicates)
This commit is contained in:
parent
ef9b30cdef
commit
068979591a
1 changed files with 2 additions and 4 deletions
|
@ -314,10 +314,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
||||||
(condition-case ex
|
(condition-case ex
|
||||||
(let ((use-package-expand-minimally t))
|
(let ((use-package-expand-minimally t))
|
||||||
;; Always compile private init file
|
;; Always compile private init file
|
||||||
(cl-pushnew (expand-file-name "init.el" doom-private-dir)
|
(push (expand-file-name "init.el" doom-private-dir) target-files)
|
||||||
target-files :test #'equal)
|
(push (expand-file-name "init.el" doom-emacs-dir) target-files)
|
||||||
(cl-pushnew (expand-file-name "init.el" doom-emacs-dir)
|
|
||||||
target-files :test #'equal)
|
|
||||||
(dolist (target (cl-delete-duplicates (mapcar #'file-truename target-files) :test #'equal))
|
(dolist (target (cl-delete-duplicates (mapcar #'file-truename target-files) :test #'equal))
|
||||||
(if (or (not recompile-p)
|
(if (or (not recompile-p)
|
||||||
(let ((elc-file (byte-compile-dest-file target)))
|
(let ((elc-file (byte-compile-dest-file target)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue