mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Don't use find if find can't be found
This commit is contained in:
@ -105,7 +105,10 @@ declaration) or dependency thereof that hasn't already been."
|
|||||||
(straight-check-for-modifications
|
(straight-check-for-modifications
|
||||||
(when (file-directory-p (straight--modified-dir))
|
(when (file-directory-p (straight--modified-dir))
|
||||||
'(find-when-checking)))
|
'(find-when-checking)))
|
||||||
(straight--allow-find (and straight-check-for-modifications t))
|
(straight--allow-find
|
||||||
|
(and straight-check-for-modifications
|
||||||
|
(executable-find straight-find-executable)
|
||||||
|
t))
|
||||||
(straight--packages-not-to-rebuild
|
(straight--packages-not-to-rebuild
|
||||||
(or straight--packages-not-to-rebuild (make-hash-table :test #'equal)))
|
(or straight--packages-not-to-rebuild (make-hash-table :test #'equal)))
|
||||||
(straight--packages-to-rebuild
|
(straight--packages-to-rebuild
|
||||||
|
Reference in New Issue
Block a user