fix: ivy occur requires a extra argument.

This commit is contained in:
tangxinfa 2019-11-05 15:21:03 +08:00
parent ace17b9a32
commit 50b78e27a3

View file

@ -678,7 +678,7 @@ construct the command.")
;; `counsel-ag'-like commands.
(counsel-git-grep-transformer (string-remove-prefix "./" str)))
(defun counsel-projectile-grep-occur ()
(defun counsel-projectile-grep-occur (&optional _cands)
"Generate a custom occur buffer for `counsel-projectile-grep'."
(counsel-grep-like-occur
counsel-projectile-grep-command))