Function: vc-annotate-find-revision-at-line
vc-annotate-find-revision-at-line is an interactive and byte-compiled
function defined in vc-annotate.el.gz.
Signature
(vc-annotate-find-revision-at-line)
Documentation
Visit the revision identified in the current line.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-annotate.el.gz
(defun vc-annotate-find-revision-at-line ()
"Visit the revision identified in the current line."
(interactive)
(if (not (equal major-mode 'vc-annotate-mode))
(message "Cannot be invoked outside of a vc annotate buffer")
(let ((rev-at-line (vc-annotate-extract-revision-at-line)))
(if (not rev-at-line)
(message "Cannot extract revision number from the current line")
(switch-to-buffer-other-window
(vc-find-revision (cdr rev-at-line) (car rev-at-line) vc-annotate-backend))))))