summaryrefslogtreecommitdiff
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-11-24 19:01:18 +0000
committerRichard M. Stallman <rms@gnu.org>2002-11-24 19:01:18 +0000
commit686e63b3306cafa50f240c4b5bcabfb53781475c (patch)
treea121d48932a4fda908bc941f300d9b9b2ef79902 /lisp/menu-bar.el
parent633d0ba56ac8c127b42af5f73dda60ec8773d574 (diff)
downloademacs-686e63b3306cafa50f240c4b5bcabfb53781475c.tar.gz
(menu-bar-describe-menu): Add "What's This?" item.
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r--lisp/menu-bar.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index cc7dd284b1a..ffc25b5da83 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1141,11 +1141,16 @@ paste (in addition to the normal Emacs bindings)."
(define-key menu-bar-describe-menu [describe-function]
'(menu-item "Describe Function..." describe-function
:help "Display documentation of function/command"))
-(define-key menu-bar-describe-menu [describe-key]
+(define-key menu-bar-describe-menu [describe-key-1]
'(menu-item "Describe Key..." describe-key
;; Users typically don't identify keys and menu items...
:help "Display documentation of command bound to a \
key (or menu-item)"))
+(define-key menu-bar-describe-menu [describe-key]
+ '(menu-item "What's This? " describe-key
+ ;; Users typically don't identify keys and menu items...
+ :help "Display documentation of command bound to a \
+key (or menu-item)"))
(define-key menu-bar-describe-menu [describe-mode]
'(menu-item "Describe Buffer Modes" describe-mode
:help "Describe this buffer's major and minor mode"))