Mercurial > emacs
diff lisp/emacs-lisp/lisp-mode.el @ 93326:e430e106fa7b
(emacs-lisp-mode-map): Fix predicate.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 27 Mar 2008 22:15:54 +0000 |
parents | 641cbad340a8 |
children | 8bdec2731742 |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el Thu Mar 27 21:15:21 2008 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Thu Mar 27 22:15:54 2008 +0000 @@ -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