diff --git a/core/core-projects.el b/core/core-projects.el index 0a54227f3..9ec73353f 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -154,7 +154,9 @@ And if it's a function, evaluate it." ;; `projectile-globally-ignored-directories' are respected. (lambda (_) (concat (format "%s . -0 -H -E .git --color=never --type file --type symlink --follow" - (or (cl-find-if (doom-rpartial #'executable-find t) + (or (cl-find-if (if EMACS27+ + (doom-rpartial #'executable-find t) + #'executable-find) '("fdfind" "fd")) "fd")) (cl-loop for dir in projectile-globally-ignored-directories