diff options
Diffstat (limited to 'lisp/vc/diff-mode.el')
| -rw-r--r-- | lisp/vc/diff-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 0e79c962b47..cdcc7ca4745 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -581,8 +581,9 @@ next hunk if TRY-HARDER is non-nil; otherwise signal an error." (with-local-quit (when (buffer-live-p buffer) (with-current-buffer buffer - (goto-char point) - (diff-refine-hunk)))))))))) + (save-excursion + (goto-char point) + (diff-refine-hunk))))))))))) (easy-mmode-define-navigation diff-file diff-file-header-re "file" diff-end-of-file) |
