changeset 57906:ce81228800f3

(vc-annotate-display-autoscale): Make sure point is at bol after calling `annotate-time'.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 03 Nov 2004 10:40:35 +0000
parents 45788a7174a4
children 436b42c65828
files lisp/vc.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Wed Nov 03 10:22:39 2004 +0000
+++ b/lisp/vc.el	Wed Nov 03 10:40:35 2004 +0000
@@ -2907,7 +2907,9 @@
     ;; Run through this file and find the oldest and newest dates annotated.
     (save-excursion
       (goto-char (point-min))
-      (while (setq date (vc-call-backend vc-annotate-backend 'annotate-time))
+      (while (setq date (prog1 (vc-call-backend vc-annotate-backend
+                                                'annotate-time)
+                          (forward-line 1)))
 	(if (> date newest)
 	    (setq newest date))
 	(if (< date oldest)