(diff-find-source-location): Avoid goto-line.
This commit is contained in:
parent
dbd9624e5a
commit
88421f3e11
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue