diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-08-24 17:11:20 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-08-24 17:11:20 +0000 |
commit | 88421f3e11449351b0815a3f06993fc8e29edb2a (patch) | |
tree | 667e821ab6216b85132b3fb2e304af18d6829b29 /lisp/diff-mode.el | |
parent | dbd9624e5a58641525e24689115e0697a32ab46d (diff) | |
download | emacs-88421f3e11449351b0815a3f06993fc8e29edb2a.tar.gz |
(diff-find-source-location): Avoid goto-line.
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r-- | lisp/diff-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 624b0ccfb3e..cf4947d20fd 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -1598,7 +1598,7 @@ NOPROMPT, if non-nil, means not to prompt the user." (when (> (prefix-numeric-value other-file) 8) (setq diff-jump-to-old-file other)) (with-current-buffer buf - (goto-line (string-to-number line)) + (goto-char (point-min)) (forward-line (1- (string-to-number line))) (let* ((orig-pos (point)) (switched nil) ;; FIXME: Check for case where both OLD and NEW are found. |