Commit 9c3e39f3 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/vc/diff-mode.el (diff-hunk): `save-excursion' while refining.

Fixes: debbugs:12671
parent a6709bc7
2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
* vc/diff-mode.el (diff-hunk): `save-excursion' while refining
(bug#12671).
2012-10-23 Glenn Morris <rgm@gnu.org>
 
* progmodes/gud.el (gud-menu-map):
......
......@@ -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)
......
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