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".
This commit is contained in:
parent
336cd0a11a
commit
557e252aa2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue