cli/doctor: fix stringp error if fd isn't installed

This commit is contained in:
Henrik Lissner 2019-07-22 02:30:53 +02:00
parent 5e0177d667
commit ff7fe6af9f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -18,7 +18,7 @@
(/ size 1024))
(explain! "Consider deleting it from your system (manually)"))))
(unless (executable-find doom-projectile-fd-binary)
(unless (ignore-errors (executable-find doom-projectile-fd-binary))
(warn! "Couldn't find the `fd' binary; project file searches will be slightly slower")
(unless (executable-find "rg")
(warn! "Couldn't find the `rg' binary either; project file searches will be even slower")))