# HG changeset patch # User Lute Kamstra # Date 1118319114 0 # Node ID 5ccb3fdd9847051629150d2a45ca9e85774ebffe # Parent 669dc7032e9dd23ce9f3729d566f1407aa709e97 (ispell-menu-map-needed): flyspell-mode could be void. diff -r 669dc7032e9d -r 5ccb3fdd9847 lisp/textmodes/ispell.el --- a/lisp/textmodes/ispell.el Thu Jun 09 10:39:02 2005 +0000 +++ b/lisp/textmodes/ispell.el Thu Jun 09 12:11:54 2005 +0000 @@ -942,7 +942,7 @@ '(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"))