diff --git a/etc/NEWS b/etc/NEWS index 8b327fac0f..26af52af58 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -3299,6 +3299,10 @@ Setting this to nil inhibits that. ** 'vc-print-branch-log' shows the change log from its root directory. It previously used to use the default directory. +--- +** 'vc-switch-backend' is rebound from 'C-x v b' to 'C-x v B'. +The prefix key 'C-x v b' is reserved for coming branch commands. + --- ** 'project-shell' and 'shell' now use 'pop-to-buffer-same-window'. This is to keep the same behavior as Eshell. diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index b7760e3bba..7455a306bc 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -864,7 +864,8 @@ vc-kill-buffer-hook (defvar vc-prefix-map (let ((map (make-sparse-keymap))) (define-key map "a" #'vc-update-change-log) - (define-key map "b" #'vc-switch-backend) + ;; TODO: Use the prefix key "b" for branch commands. + (define-key map "B" #'vc-switch-backend) (define-key map "d" #'vc-dir) (define-key map "g" #'vc-annotate) (define-key map "G" #'vc-ignore)