From 4205f1bbeae434483c10173e4adfdb1480279408 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 19 Jul 2020 16:45:45 -0400 Subject: [PATCH] Fix #3591: wrong-type-arg stringp from projectile --- core/core-projects.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-projects.el b/core/core-projects.el index c6f20d391..43f9d1172 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -165,7 +165,8 @@ And if it's a function, evaluate it." ;; it respects .gitignore. This is recommended in the projectile docs. (cond ((when-let - (bin (if (file-remote-p buffer-file-name nil t) + (bin (if (or (null default-directory) + (file-remote-p default-directory nil t)) (cl-find-if find-exe-fn (list "fdfind" "fd")) doom-projectile-fd-binary)) (concat (format "%s . -0 -H -E .git --color=never --type file --type symlink --follow"