aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2019-01-07 07:22:45 +0800
committerLeo Liu2019-01-07 07:31:33 +0800
commit2cf20b67cf6836dd7bd80077042068afa0d7b04f (patch)
treea9cf827cf147a758ae07517690f35dd14b8346bf
parent99e2ad9e4e5edeb91e739605c15dbf07f31143cc (diff)
downloademacs-2cf20b67cf6836dd7bd80077042068afa0d7b04f.tar.gz
emacs-2cf20b67cf6836dd7bd80077042068afa0d7b04f.zip
* lisp/textmodes/mhtml-mode.el: Avoid loading flyspell. (Bug#33939)
-rw-r--r--lisp/textmodes/mhtml-mode.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index 70019ffd8da..17298ccf5f7 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -21,13 +21,10 @@
21 21
22;;; Code: 22;;; Code:
23 23
24(eval-and-compile 24(eval-and-compile (require 'sgml-mode))
25 (require 'flyspell)
26 (require 'sgml-mode))
27(require 'js) 25(require 'js)
28(require 'css-mode) 26(require 'css-mode)
29(require 'prog-mode) 27(require 'prog-mode)
30(require 'font-lock)
31 28
32(defcustom mhtml-tag-relative-indent t 29(defcustom mhtml-tag-relative-indent t
33 "How <script> and <style> bodies are indented relative to the tag. 30 "How <script> and <style> bodies are indented relative to the tag.
@@ -349,6 +346,8 @@ This is used by `mhtml--pre-command'.")
349 ;; HTML. 346 ;; HTML.
350 (sgml-indent-line)))) 347 (sgml-indent-line))))
351 348
349(declare-function flyspell-generic-progmode-verify "flyspell")
350
352(defun mhtml--flyspell-check-word () 351(defun mhtml--flyspell-check-word ()
353 (let ((submode (get-text-property (point) 'mhtml-submode))) 352 (let ((submode (get-text-property (point) 'mhtml-submode)))
354 (if submode 353 (if submode