mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix helm project search commands
Used ivy variable in helm commands, causing a void-variable error. Reported by @ar1a
This commit is contained in:
@ -33,7 +33,7 @@ order.
|
|||||||
(helm-ag--default-directory directory)
|
(helm-ag--default-directory directory)
|
||||||
(helm-ag--default-target (list directory))
|
(helm-ag--default-target (list directory))
|
||||||
(engine (or engine
|
(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))
|
if (executable-find (symbol-name tool))
|
||||||
return tool)
|
return tool)
|
||||||
(and (or (executable-find "grep")
|
(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."
|
preform search from current directory."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(call-interactively
|
(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))
|
if (executable-find (symbol-name tool))
|
||||||
return (intern (format "+helm/%s%s" tool (if arg "-from-cwd" ""))))
|
return (intern (format "+helm/%s%s" tool (if arg "-from-cwd" ""))))
|
||||||
(if arg
|
(if arg
|
||||||
|
Reference in New Issue
Block a user