Function: vc-annotate-extract-revision-at-line

vc-annotate-extract-revision-at-line is a byte-compiled function defined in vc-annotate.el.gz.

Signature

(vc-annotate-extract-revision-at-line)

Documentation

Extract the revision number of the current line.

Return a cons (REV . FILENAME).

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-annotate.el.gz
(defun vc-annotate-extract-revision-at-line ()
  "Extract the revision number of the current line.
Return a cons (REV . FILENAME)."
  ;; This function must be invoked from a buffer in vc-annotate-mode
  (let ((rev (vc-call-backend vc-annotate-backend
			      'annotate-extract-revision-at-line)))
    (if (or (null rev) (consp rev))
	rev
      (cons rev vc-annotate-parent-file))))