completion/ivy: fix +helm/grep* commands

They weren't being defined, since grep is not in
+ivy-project-search-engines.
This commit is contained in:
Henrik Lissner 2018-10-13 13:26:59 -04:00
parent 752b92570d
commit ce6e34aff0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -341,7 +341,7 @@ ones."
;;;###autoload (autoload '+ivy/grep "completion/ivy/autoload/ivy")
;;;###autoload (autoload '+ivy/grep-from-cwd "completion/ivy/autoload/ivy")
(dolist (engine (cl-remove-duplicates +ivy-project-search-engines :from-end t))
(dolist (engine `(,@(cl-remove-duplicates +ivy-project-search-engines :from-end t) grep))
(defalias (intern (format "+ivy/%s" engine))
(lambda (all-files-p &optional query directory)
(interactive "P")