[Top][All Lists]

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

[elpa] master 1d08b29 233/399: swiper.el (swiper-isearch): Ensure font l

From: Oleh Krehel
Subject: [elpa] master 1d08b29 233/399: swiper.el (swiper-isearch): Ensure font lock
Date: Sat, 20 Jul 2019 14:57:29 -0400 (EDT)

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

    swiper.el (swiper-isearch): Ensure font lock
    The performance impact is minimal, since we don't do it for large buffers.
    For smaller buffers, it takes < 0.05s to font lock them.
 swiper.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/swiper.el b/swiper.el
index 62a8907..83853a1 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1359,6 +1359,7 @@ When not running `swiper-isearch' already, start it."
   "A `swiper' that's not line-based."
+  (swiper-font-lock-ensure)
   (setq swiper--isearch-point-history
          (cons "" (point))))

reply via email to

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