Mercurial > emacs
diff lisp/textmodes/ispell.el @ 63166:5ccb3fdd9847
(ispell-menu-map-needed): flyspell-mode could be void.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 09 Jun 2005 12:11:54 +0000 |
parents | be61de52f953 |
children | af4dc212b013 a1b34dec1104 |
line wrap: on
line diff
--- 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"))