Function: vc-annotate-mode
vc-annotate-mode is an interactive and byte-compiled function defined
in vc-annotate.el.gz.
Signature
(vc-annotate-mode)
Documentation
Major mode for output buffers of the vc-annotate command.
You can use the mode-specific menu to alter the time-span of the used
colors. See variable vc-annotate-menu-elements for customizing the
menu items.
In addition to any hooks its parent mode special-mode might have run,
this mode runs the hook vc-annotate-mode-hook, as the final or
penultimate step during initialization.
= vc-annotate-show-diff-revision-at-line
D vc-annotate-show-changeset-diff-revision-at-line
RET vc-annotate-goto-line
a vc-annotate-revision-previous-to-line
d vc-annotate-show-diff-revision-at-line
f vc-annotate-find-revision-at-line
j vc-annotate-revision-at-line
l vc-annotate-show-log-revision-at-line
n vc-annotate-next-revision
p vc-annotate-prev-revision
v vc-annotate-toggle-annotation-visibility
w vc-annotate-working-revision
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-annotate.el.gz
(define-derived-mode vc-annotate-mode special-mode "Annotate"
"Major mode for output buffers of the `vc-annotate' command.
You can use the mode-specific menu to alter the time-span of the used
colors. See variable `vc-annotate-menu-elements' for customizing the
menu items."
;; Frob buffer-invisibility-spec so that if it is originally a naked t,
;; it will become a list, to avoid initial annotations being invisible.
(add-to-invisibility-spec 'foo)
(remove-from-invisibility-spec 'foo)
(setq-local truncate-lines t)
(setq-local font-lock-defaults '(vc-annotate-font-lock-keywords t))
(hack-dir-local-variables-non-file-buffer))