From: Lute Kamstra Date: Thu, 9 Jun 2005 12:14:26 +0000 (+0000) Subject: (ispell-menu-map-needed): flyspell-mode could be void. X-Git-Tag: emacs-pretest-22.0.90~9173 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=420adcc60773aae22fad42234d3f4152629dfd0e;p=emacs.git (ispell-menu-map-needed): flyspell-mode could be void. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d542fa1a15b..b2224e49321 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-06-09 Lute Kamstra + + * textmodes/ispell.el (ispell-menu-map-needed): flyspell-mode + could be void. + 2005-06-09 Stefan Monnier * emacs-lisp/debug.el (debugger-will-be-back): New var. diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 067ee42f868..afdfc951b96 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -942,7 +942,7 @@ The variable `ispell-library-directory' defines the library location." '(menu-item "Automatic spell checking (Flyspell)" flyspell-mode :help "Check spelling while you edit the text" - :button (:toggle . flyspell-mode))) + :button (:toggle . (bound-and-true-p flyspell-mode)))) (define-key ispell-menu-map [ispell-complete-word] '(menu-item "Complete Word" ispell-complete-word :help "Complete word at cursor using dictionary"))