emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 557e252 1/3: Remember more variables in mhtml-mod


From: Tom Tromey
Subject: [Emacs-diffs] emacs-26 557e252 1/3: Remember more variables in mhtml-mode
Date: Sun, 29 Oct 2017 15:09:21 -0400 (EDT)

branch: emacs-26
commit 557e252aa22919e7ae89bb0a364ca22250b7121e
Author: Tom Tromey <address@hidden>
Commit: Tom Tromey <address@hidden>

    Remember more variables in mhtml-mode
    
    * lisp/textmodes/mhtml-mode.el (mhtml--crucial-variable-prefix): Add
    "completion-" and "major-mode".
    (mhtml--variable-prefix): Remove "major-mode".
---
 lisp/textmodes/mhtml-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index b6cd157..05d5e52 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -75,11 +75,11 @@ code();
 
 (defconst mhtml--crucial-variable-prefix
   (regexp-opt '("comment-" "uncomment-" "electric-indent-"
-                "smie-" "forward-sexp-function"))
+                "smie-" "forward-sexp-function" "completion-" "major-mode"))
   "Regexp matching the prefix of \"crucial\" buffer-locals we want to 
capture.")
 
 (defconst mhtml--variable-prefix
-  (regexp-opt '("font-lock-" "indent-line-function" "major-mode"))
+  (regexp-opt '("font-lock-" "indent-line-function"))
   "Regexp matching the prefix of buffer-locals we want to capture.")
 
 (defun mhtml--construct-submode (mode &rest args)



reply via email to

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