]> git.eshelyaron.com Git - emacs.git/commitdiff
(menu-bar-custom-menu): New variable; add it as a submenu of the Help menu.
authorRichard M. Stallman <rms@gnu.org>
Tue, 8 Apr 1997 22:20:30 +0000 (22:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 8 Apr 1997 22:20:30 +0000 (22:20 +0000)
lisp/menu-bar.el

index 9474e08a4b0ec8399936470564a32400f0fc332f..4ca22d625225684f7e2ef9a49f3b3e84989ab33d 100644 (file)
@@ -316,6 +316,24 @@ Do the same for the keys of the same name."
   (define-key global-map [copy] 'clipboard-kill-ring-save)
   (define-key global-map [paste] 'clipboard-yank))
 \f
+
+;;; Menu support
+
+(defvar menu-bar-custom-menu (make-sparse-keymap "Customize"))
+
+(define-key menu-bar-custom-menu [customize-apropos]
+  '("Apropos..." . customize-apropos))
+(define-key menu-bar-custom-menu [customize-variable]
+  '("Variable..." . customize-variable))
+(define-key menu-bar-custom-menu [customize-face]
+  '("Face..." . customize-face))
+(define-key menu-bar-custom-menu [customize]
+  '("Group..." . customize))
+(define-key menu-bar-custom-menu [custom-menu-update]
+  '("Update menu..." . custom-menu-update))
+
+(define-key menu-bar-help-menu [customize-menu]
+  (cons "Customize" menu-bar-custom-menu))
 (define-key menu-bar-help-menu [emacs-version]
   '("Show Version" . emacs-version))
 (define-key menu-bar-help-menu [report-emacs-bug]