From: Tom Tromey Date: Sun, 12 Nov 2017 18:56:05 +0000 (-0700) Subject: Don't enable cursor-sensor-mode in mhtml-mode X-Git-Tag: emacs-26.0.91~320 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6aa0a26b46240d79eddd7e0d275454e235a60b84;p=emacs.git 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. --- diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el index 58541677509..8df251276b5 100644 --- a/lisp/textmodes/mhtml-mode.el +++ b/lisp/textmodes/mhtml-mode.el @@ -237,8 +237,8 @@ smallest." (cons 'jit-lock-bounds (cons new-beg new-end))))) (defvar-local mhtml--last-submode nil - "Record the last visited submode, so the cursor-sensor function -can function properly.") + "Record the last visited submode. +This is used by `mhtml--pre-command'.") (defvar-local mhtml--stashed-crucial-variables nil "Alist of stashed values of the crucial variables.") @@ -359,7 +359,6 @@ can function properly.") Code inside a