Ensure doom-projectile-fd-binary is never nil

This commit is contained in:
Henrik Lissner 2019-07-24 17:09:51 +02:00
parent 03a4461d3b
commit e0fe2a85d1
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -11,7 +11,8 @@ Emacs.")
"If non-nil, non-projects are purged from the cache on `kill-emacs-hook'.")
(defvar doom-projectile-fd-binary
(cl-find-if #'executable-find '("fd" "fdfind"))
(or (cl-find-if #'executable-find '("fd" "fdfind"))
"fd")
"name of `fd-find' executable binary")
(defvar doom-projectile-cache-timer-file (concat doom-cache-dir "projectile.timers")