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

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

[elpa] master 58b6f7d 257/399: swiper.el (swiper--isearch-format): Don't


From: Oleh Krehel
Subject: [elpa] master 58b6f7d 257/399: swiper.el (swiper--isearch-format): Don't use blending for the current match
Date: Sat, 20 Jul 2019 14:57:35 -0400 (EDT)

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

    swiper.el (swiper--isearch-format): Don't use blending for the current match
---
 swiper.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/swiper.el b/swiper.el
index d0dc480..cc7d417 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1391,15 +1391,15 @@ When not running `swiper-isearch' already, start it."
         (cl-decf i))
       (setq res (nreverse res))
       (let ((current-str
-             (ivy--add-face
-              (swiper--isearch-highlight
-               (swiper--line-at-point current))
-              'swiper-line-face))
+             (swiper--line-at-point current))
             (start 0))
         (dotimes (_ (1+ j))
           (string-match regex current-str start)
           (setq start (match-end 0)))
         (swiper--isearch-highlight current-str j)
+        (ivy-add-face-text-property
+         0 (length current-str)
+         'swiper-line-face current-str t)
         (push current-str res))
       (cl-incf len)
       (setq i (1+ index))



reply via email to

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