From ff7fe6af9ff5a1f668538066b05fc2123b4c768f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 22 Jul 2019 02:30:53 +0200 Subject: [PATCH] cli/doctor: fix stringp error if fd isn't installed --- core/doctor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/doctor.el b/core/doctor.el index 3a611a1cd..1a5f5fc0e 100644 --- a/core/doctor.el +++ b/core/doctor.el @@ -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")))