Don't use find if find can't be found
This commit is contained in:
parent
309e322037
commit
b7dc9c644e
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue