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

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

[elpa] master c11797a 290/399: swiper.el (swiper--line-at-point): Fix sw


From: Oleh Krehel
Subject: [elpa] master c11797a 290/399: swiper.el (swiper--line-at-point): Fix swiper-isearch in compilation buffers
Date: Sat, 20 Jul 2019 14:57:42 -0400 (EDT)

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

    swiper.el (swiper--line-at-point): Fix swiper-isearch in compilation buffers
    
    We need to remove the 'field text property. Normally, this is handled
    by `ivy--wnd-cands-to-str', but `swiper-isearch' discards the default
    candidates window and uses it's own logic to build the window.
---
 swiper.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swiper.el b/swiper.el
index aaa532b..6690ef8 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1388,7 +1388,7 @@ When not running `swiper-isearch' already, start it."
               (line-beginning-position)
               (line-end-position))))
       (put-text-property 0 1 'point pt s)
-      s)))
+      (ivy-cleanup-string s))))
 
 (defun swiper--isearch-highlight (str &optional current)
   (let ((start 0)



reply via email to

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