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

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

[elpa] master d5c9673 265/399: swiper.el (swiper--isearch-format): Fix p


From: Oleh Krehel
Subject: [elpa] master d5c9673 265/399: swiper.el (swiper--isearch-format): Fix permanent face modifications
Date: Sat, 20 Jul 2019 14:57:37 -0400 (EDT)

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

    swiper.el (swiper--isearch-format): Fix permanent face modifications
    
    After `swiper-isearch', some comments ended up like this:
    
        #("#* Imports"
          0 1 (fontified
               t
               face
               font-lock-comment-delimiter-face)
          1 10 (fontified
                t
                face
                (org-level-1
                 font-lock-comment-face
                 swiper-line-face
                 swiper-line-face
                 swiper-line-face)))
---
 swiper.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/swiper.el b/swiper.el
index 1eba1be..a2694bb 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1403,9 +1403,9 @@ When not running `swiper-isearch' already, start it."
           (string-match regex current-str start)
           (setq start (match-end 0)))
         (swiper--isearch-highlight current-str j)
-        (ivy-add-face-text-property
+        (font-lock-append-text-property
          0 (length current-str)
-         'swiper-line-face current-str t)
+         'face 'swiper-line-face current-str)
         (push current-str res))
       (cl-incf len)
       (setq i (1+ index))



reply via email to

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