changeset 107530:44c2979819e4

* textmodes/flyspell.el (sgml-lexical-context): Autoload it. (Bug#5752)
author Glenn Morris <rgm@gnu.org>
date Mon, 22 Mar 2010 19:37:11 -0700
parents d0d82a838677
children 611d7a5040b4 aecaf96cbcaf 40292a5708c2
files lisp/ChangeLog lisp/textmodes/flyspell.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Mar 22 13:28:27 2010 -0400
+++ b/lisp/ChangeLog	Mon Mar 22 19:37:11 2010 -0700
@@ -1,3 +1,7 @@
+2010-03-23  Glenn Morris  <rgm@gnu.org>
+
+	* textmodes/flyspell.el (sgml-lexical-context): Autoload it.  (Bug#5752)
+
 2010-03-21  Chong Yidong  <cyd@stupidchicken.com>
 
 	* indent.el (indent-for-tab-command): Doc fix.
--- a/lisp/textmodes/flyspell.el	Mon Mar 22 13:28:27 2010 -0400
+++ b/lisp/textmodes/flyspell.el	Mon Mar 22 19:37:11 2010 -0700
@@ -359,7 +359,7 @@
 (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)
+(autoload 'sgml-lexical-context "sgml-mode")
 
 (defun sgml-mode-flyspell-verify ()
   "Function used for `flyspell-generic-check-word-predicate' in SGML mode.