[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63690: 29.0.91; New vc commands missing on vc-menu
From: |
Juri Linkov |
Subject: |
bug#63690: 29.0.91; New vc commands missing on vc-menu |
Date: |
Wed, 24 May 2023 19:16:23 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
etc/NEWS on emacs-29 contains:
'vc-print-branch-log' is bound to 'C-x v b l', and new commands are
'vc-create-branch' ('C-x v b c') and 'vc-switch-branch' ('C-x v b s').
But new commands are not yet added to 'vc-menu-map'.
This patch for emacs-29 fixes this omission:
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index 02c4a240c6a..402b918fc7d 100644
--- a/lisp/vc/vc-hooks.el
+++ b/lisp/vc/vc-hooks.el
@@ -898,6 +927,15 @@ vc-menu-map
(bindings--define-key map [vc-create-tag]
'(menu-item "Create Tag" vc-create-tag
:help "Create version tag"))
+ (bindings--define-key map [vc-print-branch-log]
+ '(menu-item "Show Branch History" vc-print-branch-log
+ :help "Show the change log for branch root"))
+ (bindings--define-key map [vc-switch-branch]
+ '(menu-item "Switch Branch" vc-switch-branch
+ :help "Switch to the branch"))
+ (bindings--define-key map [vc-create-branch]
+ '(menu-item "Create Branch" vc-create-branch
+ :help "Make a new branch"))
(bindings--define-key map [separator1] menu-bar-separator)
(bindings--define-key map [vc-annotate]
'(menu-item "Annotate" vc-annotate
- bug#63690: 29.0.91; New vc commands missing on vc-menu,
Juri Linkov <=