diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc-rcs.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2b78da7f92e..45e1b41765a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-09-04 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than | ||
| 4 | goto-line. | ||
| 5 | |||
| 1 | 2009-09-03 Glenn Morris <rgm@gnu.org> | 6 | 2009-09-03 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * arc-mode.el (archive-mode): | 8 | * arc-mode.el (archive-mode): |
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el index 95ed4ac2f64..7e01709ccb4 100644 --- a/lisp/vc-rcs.el +++ b/lisp/vc-rcs.el | |||
| @@ -686,7 +686,8 @@ Optional arg REVISION is a revision to annotate from." | |||
| 686 | ;; property of this approach is ability to push instructions | 686 | ;; property of this approach is ability to push instructions |
| 687 | ;; onto `path' directly, w/o need to maintain rev boundaries. | 687 | ;; onto `path' directly, w/o need to maintain rev boundaries. |
| 688 | (dolist (insn (cdr (assq :insn meta))) | 688 | (dolist (insn (cdr (assq :insn meta))) |
| 689 | (goto-line (pop insn)) | 689 | (goto-char (point-min)) |
| 690 | (forward-line (1- (pop insn))) | ||
| 690 | (setq p (point)) | 691 | (setq p (point)) |
| 691 | (case (pop insn) | 692 | (case (pop insn) |
| 692 | (k (setq s (buffer-substring-no-properties | 693 | (k (setq s (buffer-substring-no-properties |
| @@ -718,7 +719,8 @@ Optional arg REVISION is a revision to annotate from." | |||
| 718 | (setq meta (cdr (assoc pre revisions)) | 719 | (setq meta (cdr (assoc pre revisions)) |
| 719 | prda nil) | 720 | prda nil) |
| 720 | (dolist (insn (cdr (assq :insn meta))) | 721 | (dolist (insn (cdr (assq :insn meta))) |
| 721 | (goto-line (pop insn)) | 722 | (goto-char (point-min)) |
| 723 | (forward-line (1- (pop insn))) | ||
| 722 | (case (pop insn) | 724 | (case (pop insn) |
| 723 | (k (delete-region | 725 | (k (delete-region |
| 724 | (point) (progn (forward-line (car insn)) | 726 | (point) (progn (forward-line (car insn)) |