From a8d41a93c00266e3e3bef3cde170691fb79eb53e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 24 Jul 2018 14:07:13 +0200 Subject: [PATCH] Fix helm project search commands Used ivy variable in helm commands, causing a void-variable error. Reported by @ar1a --- modules/completion/helm/autoload/helm.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/completion/helm/autoload/helm.el b/modules/completion/helm/autoload/helm.el index 533e21eb8..401d1dd6e 100644 --- a/modules/completion/helm/autoload/helm.el +++ b/modules/completion/helm/autoload/helm.el @@ -33,7 +33,7 @@ order. (helm-ag--default-directory directory) (helm-ag--default-target (list directory)) (engine (or engine - (cl-loop for tool in +ivy-project-search-engines + (cl-loop for tool in +helm-project-search-engines if (executable-find (symbol-name tool)) return tool) (and (or (executable-find "grep") @@ -131,7 +131,7 @@ list of: ripgrep, ag, pt, git-grep and grep. If ARG (universal argument), preform search from current directory." (interactive "P") (call-interactively - (or (cl-loop for tool in (cl-remove-duplicates +ivy-project-search-engines) + (or (cl-loop for tool in (cl-remove-duplicates +helm-project-search-engines) if (executable-find (symbol-name tool)) return (intern (format "+helm/%s%s" tool (if arg "-from-cwd" "")))) (if arg