Commit 9dcdc43d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(vc-menu-map): New menu.

(menu-bar-file-menu): Put the VC map under the File map.
parent fe213bf8
......@@ -36,6 +36,8 @@
(defvar menu-bar-file-menu (make-sparse-keymap "File"))
(define-key global-map [menu-bar file] (cons "File" menu-bar-file-menu))
(defvar vc-menu-map (make-sparse-keymap "Version Control"))
(define-key menu-bar-file-menu [exit-emacs]
'("Exit Emacs" . save-buffers-kill-emacs))
......@@ -72,6 +74,8 @@
'("Kill (Current) Buffer" . kill-this-buffer))
(define-key menu-bar-file-menu [insert-file]
'("Insert File" . insert-file))
(define-key menu-bar-file-menu [vc-menu]
(cons "Version Control" vc-menu-map))
(define-key menu-bar-file-menu [revert-buffer]
'("Revert Buffer" . revert-buffer))
(define-key menu-bar-file-menu [write-file]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment