Fix order of +(helm|ivy)-project-search-engines

This commit is contained in:
Henrik Lissner 2018-07-24 14:18:44 +02:00
parent a8d41a93c0
commit 277915b28c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -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 +helm-project-search-engines) (or (cl-loop for tool in (cl-remove-duplicates +helm-project-search-engines :from-end t)
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

View file

@ -285,7 +285,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 +ivy-project-search-engines :from-end t)
if (executable-find (symbol-name tool)) if (executable-find (symbol-name tool))
return (intern (format "+ivy/%s%s" tool (if arg "-from-cwd" "")))) return (intern (format "+ivy/%s%s" tool (if arg "-from-cwd" ""))))
(if arg (if arg