[Top][All Lists]

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

[elpa] master 984346c 40/67: swiper.el (swiper-font-lock-ensure): Exclud

From: Oleh Krehel
Subject: [elpa] master 984346c 40/67: swiper.el (swiper-font-lock-ensure): Exclude a few modes
Date: Sun, 22 Mar 2015 17:34:03 +0000

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

    swiper.el (swiper-font-lock-ensure): Exclude a few modes
    Re #19
 swiper.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/swiper.el b/swiper.el
index a34b393..10f06a4 100644
--- a/swiper.el
+++ b/swiper.el
@@ -79,7 +79,8 @@
 (defun swiper-font-lock-ensure ()
   "Ensure the entired buffer is highlighted."
-  (unless (derived-mode-p 'magit-mode)
+  (unless (or (derived-mode-p 'magit-mode)
+              (memq major-mode '(package-menu-mode emms-playlist-mode)))
     (if (fboundp 'font-lock-ensure)

reply via email to

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