mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(cli): error if $EMACSDIR/.local/etc/eln missing
This commit is contained in:
parent
e614ffbda8
commit
3c8240dfaa
1 changed files with 2 additions and 1 deletions
|
|
@ -1283,7 +1283,8 @@ Must be run from a magit diff buffer."
|
|||
(defun doom-packages--purge-eln ()
|
||||
(if-let* ((dirs
|
||||
(cl-delete (expand-file-name comp-native-version-dir doom-packages--eln-output-path)
|
||||
(directory-files doom-packages--eln-output-path t "^[^.]" t)
|
||||
(when (file-directory-p doom-packages--eln-output-path)
|
||||
(directory-files doom-packages--eln-output-path t "^[^.]" t))
|
||||
:test #'file-equal-p)))
|
||||
(progn
|
||||
(print! (start "Purging old native bytecode..."))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue