[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 2cf20b6: * lisp/textmodes/mhtml-mode.el: Avoid lo
From: |
Leo Liu |
Subject: |
[Emacs-diffs] emacs-26 2cf20b6: * lisp/textmodes/mhtml-mode.el: Avoid loading flyspell. (Bug#33939) |
Date: |
Sun, 6 Jan 2019 18:31:54 -0500 (EST) |
branch: emacs-26
commit 2cf20b67cf6836dd7bd80077042068afa0d7b04f
Author: Leo Liu <address@hidden>
Commit: Leo Liu <address@hidden>
* lisp/textmodes/mhtml-mode.el: Avoid loading flyspell. (Bug#33939)
---
lisp/textmodes/mhtml-mode.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index 70019ff..17298cc 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 2cf20b6: * lisp/textmodes/mhtml-mode.el: Avoid loading flyspell. (Bug#33939),
Leo Liu <=