diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-29 11:50:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-29 11:50:16 -0600 |
commit | 557e252aa22919e7ae89bb0a364ca22250b7121e (patch) | |
tree | ceee540d9fac67c3bacad797b2e6207e99ca2b3d /lisp/textmodes/mhtml-mode.el | |
parent | 336cd0a11ab39e40a6623d2f1a0ec234ea9d29b7 (diff) | |
download | emacs-557e252aa22919e7ae89bb0a364ca22250b7121e.tar.gz emacs-557e252aa22919e7ae89bb0a364ca22250b7121e.tar.bz2 emacs-557e252aa22919e7ae89bb0a364ca22250b7121e.zip |
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".
Diffstat (limited to 'lisp/textmodes/mhtml-mode.el')
-rw-r--r-- | lisp/textmodes/mhtml-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el index b6cd1572fb7..05d5e52225d 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) |