1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00: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

@ -1,5 +1,7 @@
2009-11-19 Glenn Morris <rgm@gnu.org>
* textmodes/flyspell.el (sgml-lexical-context): Declare.
* net/newst-treeview.el (newsticker-treeview-treewindow-width)
(newsticker-treeview-listwindow-height): Fix custom type.

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.