aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/mhtml-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index 4c125ab2c67..7de24c783f0 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -23,12 +23,10 @@
23 23
24(eval-and-compile 24(eval-and-compile
25 (require 'cl-lib) 25 (require 'cl-lib)
26 (require 'flyspell)
27 (require 'sgml-mode)) 26 (require 'sgml-mode))
28(require 'js) 27(require 'js)
29(require 'css-mode) 28(require 'css-mode)
30(require 'prog-mode) 29(require 'prog-mode)
31(require 'font-lock)
32 30
33(defcustom mhtml-tag-relative-indent t 31(defcustom mhtml-tag-relative-indent t
34 "How <script> and <style> bodies are indented relative to the tag. 32 "How <script> and <style> bodies are indented relative to the tag.
@@ -350,6 +348,8 @@ This is used by `mhtml--pre-command'.")
350 ;; HTML. 348 ;; HTML.
351 (sgml-indent-line)))) 349 (sgml-indent-line))))
352 350
351(declare-function flyspell-generic-progmode-verify "flyspell")
352
353(defun mhtml--flyspell-check-word () 353(defun mhtml--flyspell-check-word ()
354 (let ((submode (get-text-property (point) 'mhtml-submode))) 354 (let ((submode (get-text-property (point) 'mhtml-submode)))
355 (if submode 355 (if submode