Mercurial > emacs
diff lisp/vc.el @ 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 | f6abcbacf62a |
children | f398ebfc07e2 7a0245dd1848 e24e2e78deda |
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)