mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/vc/diff-mode.el (diff-hunk): `save-excursion' while refining.
Fixes: debbugs:12671
This commit is contained in:
parent
a6709bc70c
commit
9c3e39f3ff
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue