summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-11-19 07:27:46 +0000
committerGlenn Morris <rgm@gnu.org>2009-11-19 07:27:46 +0000
commit7e705a1d02e50197ad57ce78106b627096dd9b21 (patch)
treec1d61fff383cbea1b1e2b1e6673a3ebe67733c00 /lisp
parent27cacd2d42b66bac45c7317c7edb0b7323e8dfc7 (diff)
downloademacs-7e705a1d02e50197ad57ce78106b627096dd9b21.tar.gz
(sgml-lexical-context): Declare.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/textmodes/flyspell.el2
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e1a7757fbdb..504d1162b19 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 9aaf466f0ed..54cb7da0c58 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -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.