Commit 2cf20b67 authored by Leo Liu's avatar Leo Liu

* lisp/textmodes/mhtml-mode.el: Avoid loading flyspell. (Bug#33939)

parent 99e2ad9e
Pipeline #469 failed with stage
in 25 minutes and 15 seconds
......@@ -21,13 +21,10 @@
;;; Code:
(eval-and-compile
(require 'flyspell)
(require 'sgml-mode))
(eval-and-compile (require 'sgml-mode))
(require 'js)
(require 'css-mode)
(require 'prog-mode)
(require 'font-lock)
(defcustom mhtml-tag-relative-indent t
"How <script> and <style> bodies are indented relative to the tag.
......@@ -349,6 +346,8 @@ This is used by `mhtml--pre-command'.")
;; HTML.
(sgml-indent-line))))
(declare-function flyspell-generic-progmode-verify "flyspell")
(defun mhtml--flyspell-check-word ()
(let ((submode (get-text-property (point) 'mhtml-submode)))
(if submode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment