Skip to content

Commit e7757e9

Browse files
committed
Only use locate when installed
1 parent 086d27d commit e7757e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/config-helm.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@
434434
;; file location, of which projectile is a faster subset
435435
;; (unless projectile-root
436436
;; '(helm-source-findutils))
437-
438-
'(helm-source-locate)
437+
(when (executable-find (car (split-string-shell-command helm-locate-command)))
438+
'(helm-source-locate))
439439
)))
440440

441441
:fuzzy-match t

0 commit comments

Comments
 (0)