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

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

[elpa] master 2989f25 268/348: swiper.el (swiper--update-input-ivy): Fix


From: Oleh Krehel
Subject: [elpa] master 2989f25 268/348: swiper.el (swiper--update-input-ivy): Fix window-end call
Date: Sat, 8 Apr 2017 11:04:12 -0400 (EDT)

branch: master
commit 2989f2512e54b1d27b81a8fd695e90913c5b1069
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    swiper.el (swiper--update-input-ivy): Fix window-end call
    
    Always refresh, otherwise some candidates may not get highlighted.
---
 swiper.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swiper.el b/swiper.el
index addf609..56e8d54 100644
--- a/swiper.el
+++ b/swiper.el
@@ -583,7 +583,7 @@ Matched candidates should have `swiper-invocation-face'."
         (swiper--add-overlays
          re
          (max (window-start) swiper--point-min)
-         (min (window-end) swiper--point-max))))))
+         (min (window-end (selected-window) t) swiper--point-max))))))
 
 (defun swiper--add-overlays (re &optional beg end wnd)
   "Add overlays for RE regexp in visible part of the current buffer.



reply via email to

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