diff options
| author | Thien-Thi Nguyen | 2004-11-03 10:41:46 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2004-11-03 10:41:46 +0000 |
| commit | 2e73435333f50845d845633664161d26d55afd51 (patch) | |
| tree | 98301e3888c56da083b9d3dc53c72ecc40dc2b6f | |
| parent | f36e4afe479b3ea32dbfaa354392d0031e21ca1f (diff) | |
| download | emacs-2e73435333f50845d845633664161d26d55afd51.tar.gz emacs-2e73435333f50845d845633664161d26d55afd51.zip | |
(vc-annotate-display-autoscale): Make sure
point is at bol after calling `annotate-time'.
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/vc.el | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3652c68c4f6..d47e404cf0e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | * vc.el (vc-annotate-display-autoscale): Add prefix-arg | 3 | * vc.el (vc-annotate-display-autoscale): Add prefix-arg |
| 4 | spec in `interactive' form, and mention it in the docstring. | 4 | spec in `interactive' form, and mention it in the docstring. |
| 5 | Also, make sure point is at bol after calling `annotate-time'. | ||
| 5 | 6 | ||
| 6 | 2004-11-02 Richard M. Stallman <rms@gnu.org> | 7 | 2004-11-02 Richard M. Stallman <rms@gnu.org> |
| 7 | 8 | ||
diff --git a/lisp/vc.el b/lisp/vc.el index 3301c9c03f0..5aac27e31a4 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -2907,7 +2907,9 @@ cover the range from the oldest annotation to the newest." | |||
| 2907 | ;; Run through this file and find the oldest and newest dates annotated. | 2907 | ;; Run through this file and find the oldest and newest dates annotated. |
| 2908 | (save-excursion | 2908 | (save-excursion |
| 2909 | (goto-char (point-min)) | 2909 | (goto-char (point-min)) |
| 2910 | (while (setq date (vc-call-backend vc-annotate-backend 'annotate-time)) | 2910 | (while (setq date (prog1 (vc-call-backend vc-annotate-backend |
| 2911 | 'annotate-time) | ||
| 2912 | (forward-line 1))) | ||
| 2911 | (if (> date newest) | 2913 | (if (> date newest) |
| 2912 | (setq newest date)) | 2914 | (setq newest date)) |
| 2913 | (if (< date oldest) | 2915 | (if (< date oldest) |