(emacs-lisp-mode-map): Fix predicate.

This commit is contained in:
Dan Nicolaescu 2008-03-27 22:15:54 +00:00
parent 2806a18346
commit 0bf12140f5
2 changed files with 5 additions and 1 deletions

View file

@ -281,7 +281,7 @@
(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