]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-menu-map-needed): flyspell-mode could be void.
authorLute Kamstra <lute@gnu.org>
Thu, 9 Jun 2005 12:14:26 +0000 (12:14 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 9 Jun 2005 12:14:26 +0000 (12:14 +0000)
lisp/ChangeLog
lisp/textmodes/ispell.el

index d542fa1a15b87006818766e3bb2bd11c6e40542c..b2224e49321c1139da8f6f2dbbb35635eb9a80d1 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-09  Lute Kamstra  <lute@gnu.org>
+
+       * textmodes/ispell.el (ispell-menu-map-needed): flyspell-mode
+       could be void.
+
 2005-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/debug.el (debugger-will-be-back): New var.
index 067ee42f868bab811290e3453690299059a7d657..afdfc951b969fbbb2cf0dee09f6b86907c7fe9a5 100644 (file)
@@ -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"))