branch: externals/ivy-hydra
commit 177d7e06c1b5de2e4c4304ec3029e084df9ea3d2
Author: Philipp Stephani <[email protected]>
Commit: Philipp Stephani <[email protected]>

    Fix definition of ‘counsel--browse-history’.
    
    Plain ‘defun’ doesn’t know about keyword arguments.
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 52cc0d3..d7b85ee 100644
--- a/counsel.el
+++ b/counsel.el
@@ -4738,7 +4738,7 @@ An extra action allows to switch to the process buffer."
              counsel-slime-repl-history--index-last snd)))
     (ivy-completion-in-region-action (car pair))))
 
-(defun counsel--browse-history (ring &key caller)
+(cl-defun counsel--browse-history (ring &key caller)
   "Use Ivy to navigate through RING."
   (let* ((proc (get-buffer-process (current-buffer)))
          (end (point))

Reply via email to