]> git.eshelyaron.com Git - emacs.git/commit
Fix 'diff-goto-source' when buffer is narrowed (Bug#21262)
authorCharles A. Roelli <charles@aurox.ch>
Tue, 22 Aug 2017 13:57:01 +0000 (15:57 +0200)
committerCharles A. Roelli <charles@aurox.ch>
Sun, 27 Aug 2017 12:14:46 +0000 (14:14 +0200)
commit208a3cb05f4d954abc9dd6c8cd858ef2bedd7cb4
tree52d2ef0ae997c8b89ec4bcc918c2d9989cc9c8c5
parentd309ce429912a39c4f19877f23cf36116b679818
Fix 'diff-goto-source' when buffer is narrowed (Bug#21262)

* lisp/vc/diff-mode.el (diff-find-file-name): Save the current
narrowing, and widen the buffer before searching for the name of the
file corresponding to the diff.

With thanks to Noam Postavsky.
lisp/vc/diff-mode.el