From 50b78e27a30e6a14d00fd9253279a287cdd20fc1 Mon Sep 17 00:00:00 2001 From: tangxinfa Date: Tue, 5 Nov 2019 15:21:03 +0800 Subject: [PATCH] fix: ivy occur requires a extra argument. --- counsel-projectile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/counsel-projectile.el b/counsel-projectile.el index 53d9080..c592fb9 100644 --- a/counsel-projectile.el +++ b/counsel-projectile.el @@ -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))