1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(sgml-lexical-context): Declare.

This commit is contained in:
Glenn Morris 2009-11-19 07:27:46 +00:00
parent 27cacd2d42
commit 7e705a1d02
2 changed files with 4 additions and 0 deletions

View file

@ -359,6 +359,8 @@ property of the major mode name.")
(put 'html-mode 'flyspell-mode-predicate 'sgml-mode-flyspell-verify)
(put 'nxml-mode 'flyspell-mode-predicate 'sgml-mode-flyspell-verify)
(declare-function sgml-lexical-context "sgml-mode" &optional limit)
(defun sgml-mode-flyspell-verify ()
"Function used for `flyspell-generic-check-word-predicate' in SGML mode.
Tag and attribute names are not spell checked, everything else is.