diff options
author | Juri Linkov <juri@linkov.net> | 2022-09-12 22:12:50 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-09-12 22:12:50 +0300 |
commit | 5e6a7a210bbb92b7f4c94b5765297fd814362338 (patch) | |
tree | 6c5126c6d9b90804addb6a244bc23cd72f65a34c /lisp/vc/vc-dir.el | |
parent | bcc95bd66d69f418f33d4277b1d2244eb3026ebe (diff) | |
download | emacs-5e6a7a210bbb92b7f4c94b5765297fd814362338.tar.gz |
Document the recently added branch commands (bug#50344)
* doc/emacs/maintaining.texi (VC Directory Commands): Change the
prefix key from "B" to "b". Replace vc-create-tag with vc-create-branch,
and vc-retrieve-tag with vc-switch-branch.
(Switching Branches): Mention vc-switch-branch bound to 'C-x v b s'.
(Creating Branches): Mention vc-create-branch bound to 'C-x v b c'.
* lisp/vc/vc-dir.el (vc-dir-mode-map): In branch keymap 'b' rebind
"c" from vc-create-tag to vc-create-branch, and "s" from
vc-retrieve-tag to vc-switch-branch.
Diffstat (limited to 'lisp/vc/vc-dir.el')
-rw-r--r-- | lisp/vc/vc-dir.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el index aa8bad79613..b4568727ea0 100644 --- a/lisp/vc/vc-dir.el +++ b/lisp/vc/vc-dir.el @@ -357,9 +357,9 @@ See `run-hooks'." (let ((branch-map (make-sparse-keymap))) (define-key map "b" branch-map) - (define-key branch-map "c" #'vc-create-tag) + (define-key branch-map "c" #'vc-create-branch) (define-key branch-map "l" #'vc-print-branch-log) - (define-key branch-map "s" #'vc-retrieve-tag)) + (define-key branch-map "s" #'vc-switch-branch)) (let ((mark-map (make-sparse-keymap))) (define-key map "*" mark-map) |