From 6aa0a26b46240d79eddd7e0d275454e235a60b84 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 12 Nov 2017 11:56:05 -0700 Subject: [PATCH] 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. --- lisp/textmodes/mhtml-mode.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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