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:
parent
0443eeb6a4
commit
00ebbafb96
1 changed files with 3 additions and 1 deletions
|
@ -154,7 +154,9 @@ And if it's a function, evaluate it."
|
||||||
;; `projectile-globally-ignored-directories' are respected.
|
;; `projectile-globally-ignored-directories' are respected.
|
||||||
(lambda (_)
|
(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 (doom-rpartial #'executable-find t)
|
(or (cl-find-if (if EMACS27+
|
||||||
|
(doom-rpartial #'executable-find t)
|
||||||
|
#'executable-find)
|
||||||
'("fdfind" "fd"))
|
'("fdfind" "fd"))
|
||||||
"fd"))
|
"fd"))
|
||||||
(cl-loop for dir in projectile-globally-ignored-directories
|
(cl-loop for dir in projectile-globally-ignored-directories
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue