emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 2ac1d2d 256/272: ivy.el (ivy-occur-press): Set counsel-gre


From: Oleh Krehel
Subject: [elpa] master 2ac1d2d 256/272: ivy.el (ivy-occur-press): Set counsel-grep-last-line to nil
Date: Mon, 25 Apr 2016 10:13:29 +0000

branch: master
commit 2ac1d2d9c190710f3e962f98cd4202e66687f033
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-occur-press): Set counsel-grep-last-line to nil
---
 ivy.el |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ivy.el b/ivy.el
index 1a9ba33..674e487 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2994,6 +2994,7 @@ EVENT gives the mouse position."
 (declare-function swiper--cleanup "swiper")
 (declare-function swiper--add-overlays "swiper")
 (defvar ivy-occur-timer nil)
+(defvar counsel-grep-last-line)
 
 (defun ivy-occur-press ()
   "Execute action for the current candidate."
@@ -3020,6 +3021,7 @@ EVENT gives the mouse position."
            (action (ivy--get-action ivy-last))
            (ivy-exit 'done))
       (with-ivy-window
+        (setq counsel-grep-last-line nil)
         (funcall action
                  (if (and (consp coll)
                           (consp (car coll)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]