Don't enable cursor-sensor-mode in mhtml-mode
* lisp/textmodes/mhtml-mode.el (mhtml--last-submode): Update doc string. (mhtml-mode): Don't call cursor-sensor-mode.
This commit is contained in:
parent
2b8ef8dddf
commit
6aa0a26b46
1 changed files with 2 additions and 3 deletions
|
@ -237,8 +237,8 @@ smallest."
|
||||||
(cons 'jit-lock-bounds (cons new-beg new-end)))))
|
(cons 'jit-lock-bounds (cons new-beg new-end)))))
|
||||||
|
|
||||||
(defvar-local mhtml--last-submode nil
|
(defvar-local mhtml--last-submode nil
|
||||||
"Record the last visited submode, so the cursor-sensor function
|
"Record the last visited submode.
|
||||||
can function properly.")
|
This is used by `mhtml--pre-command'.")
|
||||||
|
|
||||||
(defvar-local mhtml--stashed-crucial-variables nil
|
(defvar-local mhtml--stashed-crucial-variables nil
|
||||||
"Alist of stashed values of the crucial variables.")
|
"Alist of stashed values of the crucial variables.")
|
||||||
|
@ -359,7 +359,6 @@ can function properly.")
|
||||||
Code inside a <script> element is indented using the rules from
|
Code inside a <script> element is indented using the rules from
|
||||||
`js-mode'; and code inside a <style> element is indented using
|
`js-mode'; and code inside a <style> element is indented using
|
||||||
the rules from `css-mode'."
|
the rules from `css-mode'."
|
||||||
(cursor-sensor-mode)
|
|
||||||
(setq-local indent-line-function #'mhtml-indent-line)
|
(setq-local indent-line-function #'mhtml-indent-line)
|
||||||
(setq-local parse-sexp-lookup-properties t)
|
(setq-local parse-sexp-lookup-properties t)
|
||||||
(setq-local syntax-propertize-function #'mhtml-syntax-propertize)
|
(setq-local syntax-propertize-function #'mhtml-syntax-propertize)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue