mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #3455: wrong-number-of-args on executable-find call
executable-find's second argument was added in Emacs 27, so 26 users would suffer this error. Closes #3460
This commit is contained in:
@ -154,7 +154,9 @@ And if it's a function, evaluate it."
|
||||
;; this way so that future changes to
|
||||
;; `projectile-globally-ignored-directories' are respected.
|
||||
(lambda (_)
|
||||
(concat (format "%s . -0 -H -E .git --color=never --type file --type symlink --follow"
|
||||
(concat (format "%s . -0 -H -E .git --color=never --type file --type symlink --follow"
|
||||
(or (cl-find-if (if EMACS27+
|
||||
(doom-rpartial #'executable-find t)
|
||||
#'executable-find)
|
||||
'("fdfind" "fd"))
|
||||
"fd"))
|
||||
|
Reference in New Issue
Block a user