Mercurial > emacs
comparison lisp/menu-bar.el @ 48524:710d401ff225
(menu-bar-describe-menu): Add "What's This?" item.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 Nov 2002 19:00:38 +0000 |
parents | 243072643e17 |
children | 5f0cc4c0a0c7 |
comparison
equal
deleted
inserted
replaced
48523:442a4d06a99f | 48524:710d401ff225 |
---|---|
1139 '(menu-item "Describe Variable..." describe-variable | 1139 '(menu-item "Describe Variable..." describe-variable |
1140 :help "Display documentation of variable/option")) | 1140 :help "Display documentation of variable/option")) |
1141 (define-key menu-bar-describe-menu [describe-function] | 1141 (define-key menu-bar-describe-menu [describe-function] |
1142 '(menu-item "Describe Function..." describe-function | 1142 '(menu-item "Describe Function..." describe-function |
1143 :help "Display documentation of function/command")) | 1143 :help "Display documentation of function/command")) |
1144 (define-key menu-bar-describe-menu [describe-key-1] | |
1145 '(menu-item "Describe Key..." describe-key | |
1146 ;; Users typically don't identify keys and menu items... | |
1147 :help "Display documentation of command bound to a \ | |
1148 key (or menu-item)")) | |
1144 (define-key menu-bar-describe-menu [describe-key] | 1149 (define-key menu-bar-describe-menu [describe-key] |
1145 '(menu-item "Describe Key..." describe-key | 1150 '(menu-item "What's This? " describe-key |
1146 ;; Users typically don't identify keys and menu items... | 1151 ;; Users typically don't identify keys and menu items... |
1147 :help "Display documentation of command bound to a \ | 1152 :help "Display documentation of command bound to a \ |
1148 key (or menu-item)")) | 1153 key (or menu-item)")) |
1149 (define-key menu-bar-describe-menu [describe-mode] | 1154 (define-key menu-bar-describe-menu [describe-mode] |
1150 '(menu-item "Describe Buffer Modes" describe-mode | 1155 '(menu-item "Describe Buffer Modes" describe-mode |