aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/menu-bar.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 9474e08a4b0..4ca22d62522 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -316,6 +316,24 @@ Do the same for the keys of the same name."
316 (define-key global-map [copy] 'clipboard-kill-ring-save) 316 (define-key global-map [copy] 'clipboard-kill-ring-save)
317 (define-key global-map [paste] 'clipboard-yank)) 317 (define-key global-map [paste] 'clipboard-yank))
318 318
319
320;;; Menu support
321
322(defvar menu-bar-custom-menu (make-sparse-keymap "Customize"))
323
324(define-key menu-bar-custom-menu [customize-apropos]
325 '("Apropos..." . customize-apropos))
326(define-key menu-bar-custom-menu [customize-variable]
327 '("Variable..." . customize-variable))
328(define-key menu-bar-custom-menu [customize-face]
329 '("Face..." . customize-face))
330(define-key menu-bar-custom-menu [customize]
331 '("Group..." . customize))
332(define-key menu-bar-custom-menu [custom-menu-update]
333 '("Update menu..." . custom-menu-update))
334
335(define-key menu-bar-help-menu [customize-menu]
336 (cons "Customize" menu-bar-custom-menu))
319(define-key menu-bar-help-menu [emacs-version] 337(define-key menu-bar-help-menu [emacs-version]
320 '("Show Version" . emacs-version)) 338 '("Show Version" . emacs-version))
321(define-key menu-bar-help-menu [report-emacs-bug] 339(define-key menu-bar-help-menu [report-emacs-bug]