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

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

[elpa] master 3858a4e 069/433: (mmm-mode-on-maybe): Conditioned font-loc


From: Dmitry Gutov
Subject: [elpa] master 3858a4e 069/433: (mmm-mode-on-maybe): Conditioned font-lock updating on mmm-mode.
Date: Thu, 15 Mar 2018 19:43:36 -0400 (EDT)

branch: master
commit 3858a4e4cd4fa1adb4f5e13362453d5d43c79e5e
Author: mas <mas>
Commit: mas <mas>

    (mmm-mode-on-maybe): Conditioned font-lock updating on mmm-mode.
---
 mmm-auto.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mmm-auto.el b/mmm-auto.el
index a21b198..115ce7f 100644
--- a/mmm-auto.el
+++ b/mmm-auto.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-auto.el,v 1.10 2000/06/30 02:43:01 mas Exp $
+;; Version: $Id: mmm-auto.el,v 1.11 2000/06/30 03:26:48 mas Exp $
 
 ;;{{{ GPL
 
@@ -120,7 +120,8 @@ to apply, or always if `global-mmm-mode' is t."
   (cond ((eq mmm-global-mode t) (mmm-mode-on))
         ((not mmm-global-mode))
         ((mmm-get-all-classes nil) (mmm-mode-on)))
-  (mmm-update-font-lock-buffer))
+  (when mmm-mode
+    (mmm-update-font-lock-buffer)))
 
 (add-hook 'mmm-major-mode-hook 'mmm-mode-on-maybe)
 



reply via email to

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