mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(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
|
|
@ -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
Add a link
Reference in a new issue