Fix #3591: wrong-type-arg stringp from projectile

This commit is contained in:
Henrik Lissner
2020-07-19 16:45:45 -04:00
parent 804652366a
commit 4205f1bbea

View File

@ -165,7 +165,8 @@ And if it's a function, evaluate it."
;; program that is significantly faster than git ls-files or find, and ;; program that is significantly faster than git ls-files or find, and
;; it respects .gitignore. This is recommended in the projectile docs. ;; it respects .gitignore. This is recommended in the projectile docs.
(cond (cond
((when-let ((when-let
(bin (if (or (null default-directory)
(file-remote-p default-directory nil t)) (file-remote-p default-directory nil t))
(cl-find-if find-exe-fn (list "fdfind" "fd")) (cl-find-if find-exe-fn (list "fdfind" "fd"))
doom-projectile-fd-binary)) doom-projectile-fd-binary))