]> git.eshelyaron.com Git - emacs.git/commitdiff
(emacs-lisp-mode-map): Fix predicate.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 27 Mar 2008 22:15:54 +0000 (22:15 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 27 Mar 2008 22:15:54 +0000 (22:15 +0000)
lisp/ChangeLog
lisp/emacs-lisp/lisp-mode.el

index 97db7c2509140561a242aa7e911e44062aa78a07..b939374d03e24bffe27f3e682693111b3592ec34 100644 (file)
@@ -1,3 +1,7 @@
+2008-03-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix predicate.
+
 2008-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc-hooks.el (vc-before-save): Don't prevent saving the file.
index 29552a7dcd852e84c0e9eb2596be267efa6d494a..d264de6834fc9bd4d83726bdfdbc431d03758fe4 100644 (file)
     (define-key map [menu-bar emacs-lisp] (cons "Emacs-Lisp" menu-map))
     (define-key menu-map [eldoc]
       '(menu-item "Auto-Display Documentation Strings" eldoc-mode
-                 :button (:toggle . eldoc-mode)
+                 :button (:toggle . (bound-and-true-p eldoc-mode))
                  :help "Display the documentation string for the item under cursor"))
     (define-key menu-map [checkdoc]
       '(menu-item "Check Documentation Strings" checkdoc