Function: vc-annotate-difference

vc-annotate-difference is a byte-compiled function defined in vc-annotate.el.gz.

Signature

(vc-annotate-difference &optional OFFSET)

Documentation

Return the time span in days to the next annotation.

This calls the backend function annotate-time, and returns the difference in days between the time returned and the current time, or OFFSET if present.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-annotate.el.gz
(defun vc-annotate-difference (&optional offset)
  "Return the time span in days to the next annotation.
This calls the backend function annotate-time, and returns the
difference in days between the time returned and the current time,
or OFFSET if present."
   (let ((next-time (vc-annotate-get-time-set-line-props)))
     (when next-time
       (- (or offset
	      (vc-call-backend vc-annotate-backend 'annotate-current-time))
	  next-time))))