unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63690: 29.0.91; New vc commands missing on vc-menu
@ 2023-05-24 16:16 Juri Linkov
  2023-05-24 16:51 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Juri Linkov @ 2023-05-24 16:16 UTC (permalink / raw)
  To: 63690

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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-25 18:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 16:16 bug#63690: 29.0.91; New vc commands missing on vc-menu Juri Linkov
2023-05-24 16:51 ` Eli Zaretskii
2023-05-24 17:31   ` Juri Linkov
2023-05-24 18:39     ` Eli Zaretskii
2023-05-25  6:43       ` Juri Linkov
2023-05-25  7:50         ` Eli Zaretskii
2023-05-25 18:25           ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).