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

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

[elpa] master 8f282a5 136/348: counsel.el (counsel-git-grep-action): Rev


From: Oleh Krehel
Subject: [elpa] master 8f282a5 136/348: counsel.el (counsel-git-grep-action): Reveal text in outlines
Date: Sat, 8 Apr 2017 11:03:43 -0400 (EDT)

branch: master
commit 8f282a5cc62d2e93b8f261543327406fa8c94143
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-git-grep-action): Reveal text in outlines
---
 counsel.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/counsel.el b/counsel.el
index 1935049..aa1106b 100644
--- a/counsel.el
+++ b/counsel.el
@@ -938,6 +938,7 @@ Describe the selected candidate."
         (goto-char (point-min))
         (forward-line (1- (string-to-number line-number)))
         (re-search-forward (ivy--regex ivy-text t) (line-end-position) t)
+        (swiper--ensure-visible)
         (unless (eq ivy-exit 'done)
           (swiper--cleanup)
           (swiper--add-overlays (ivy--regex ivy-text)))))))



reply via email to

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