branch: master
commit 4e6921f0e96a03c1faaa7baaacf7fbf48349f9a8
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el: Apply alist change to ivy-occur
    
    * ivy.el (ivy-occur-press): Pass the whole cons cell to action.
    
    Fixes #634
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 1c92a7d..64d3429 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3388,7 +3388,7 @@ EVENT gives the mouse position."
         (funcall action
                  (if (and (consp coll)
                           (consp (car coll)))
-                     (cdr (assoc str coll))
+                     (assoc str coll)
                    str))
         (if (memq (ivy-state-caller ivy-last)
                   '(swiper counsel-git-grep counsel-grep))

Reply via email to