Function: vc-mode

vc-mode is a byte-compiled function defined in vc-hooks.el.gz.

Signature

(vc-mode &optional ARG)

Documentation

Version Control minor mode.

This minor mode is automatically activated whenever you visit a file under control of one of the revision control systems in vc-handled-backends. VC commands are globally reachable under the prefix C-x v (vc-prefix-map):
! vc-edit-next-command
+ vc-update
= vc-diff
B = vc-diff-outgoing-base
B D vc-root-diff-outgoing-base
D vc-root-diff
G vc-ignore
I vc-log-incoming
L vc-print-root-log
M D vc-diff-mergebase
M L vc-log-mergebase
O vc-log-outgoing
P vc-push
R vc-rename-file
a vc-update-change-log
b L vc-print-root-branch-log
b c vc-create-branch
b l vc-print-fileset-branch-log
b s vc-switch-branch
d vc-dir
g vc-annotate
h vc-region-history
i vc-register
l vc-print-log
m vc-merge
r vc-retrieve-tag
s vc-create-tag
u vc-revert
v vc-next-action
w A vc-apply-root-to-other-working-tree
w R vc-move-working-tree
w a vc-apply-to-other-working-tree
w c vc-add-working-tree
w k vc-kill-other-working-tree-buffers
w s vc-working-tree-switch-project
w w vc-switch-working-tree
w x vc-delete-working-tree
x vc-delete-file
~ vc-revision-other-window

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hooks.el.gz
(defun vc-mode (&optional _arg)
  ;; Dummy function for C-h m
  "Version Control minor mode.
This minor mode is automatically activated whenever you visit a file under
control of one of the revision control systems in `vc-handled-backends'.
VC commands are globally reachable under the prefix \\[vc-prefix-map]:
\\{vc-prefix-map}"
  nil)