[Top][All Lists]

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

[elpa] master 686cf5a 014/399: swiper.el (swiper--action): Fix for emacs

From: Oleh Krehel
Subject: [elpa] master 686cf5a 014/399: swiper.el (swiper--action): Fix for emacs -nw
Date: Sat, 20 Jul 2019 14:56:39 -0400 (EDT)

branch: master
commit 686cf5a7646216ab20af585bd7737debdf4a540f
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    swiper.el (swiper--action): Fix for emacs -nw
    Fixes #1923
 swiper.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swiper.el b/swiper.el
index a9a9974..99efef7 100644
--- a/swiper.el
+++ b/swiper.el
@@ -802,7 +802,7 @@ the face, window and priority of the overlay."
         (cond (swiper-action-recenter
-              (swiper--current-window-start
+              ((and swiper--current-window-start (display-graphic-p))
                (set-window-start (selected-window) 
         (when (/= (point) swiper--opoint)
           (unless (and transient-mark-mode mark-active)

reply via email to

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