[Top][All Lists]

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

[elpa] master 54d1b19 392/399: swiper.el (swiper-isearch-action): Use sw

From: Oleh Krehel
Subject: [elpa] master 54d1b19 392/399: swiper.el (swiper-isearch-action): Use swiper-action-recenter
Date: Sat, 20 Jul 2019 14:58:06 -0400 (EDT)

branch: master
commit 54d1b197080c78320ee611d5ed97ee8a34cebe0a
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    swiper.el (swiper-isearch-action): Use swiper-action-recenter
    Fixes #2146
 swiper.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/swiper.el b/swiper.el
index 123bd9c..cfaf796 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1376,6 +1376,8 @@ that we search only for one character."
         (goto-char x)
         (isearch-range-invisible (point) (1+ (point)))
+        (when swiper-action-recenter
+          (recenter))
         (unless (eq ivy-exit 'done)

reply via email to

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