Commit 88421f3e authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(diff-find-source-location): Avoid goto-line.

parent dbd9624e
2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-find-source-location): Avoid goto-line.
2009-08-24 Kenichi Handa <handa@m17n.org>
* language/ind-util.el (mapthread): Delete it.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment