(emacs-lisp-mode-map): Fix predicate.
This commit is contained in:
parent
2806a18346
commit
0bf12140f5
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue