]> git.eshelyaron.com Git - emacs.git/commit
* lisp/vc/vc.el (vc-diff-internal): Assume revert-buffer is in current buffer.
authorJuri Linkov <juri@linkov.net>
Mon, 31 Jan 2022 18:46:06 +0000 (20:46 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 31 Jan 2022 18:46:06 +0000 (20:46 +0200)
commit70f994f6d098c6830cab1fb396d46c42782e7527
treeb5549940efe448235f94fc620c4ecbc0c9b709b1
parentcf9c40159a6bef5a23f7b23a45c03f0c6be57574
* lisp/vc/vc.el (vc-diff-internal): Assume revert-buffer is in current buffer.

Support the case when reverting is in the buffer with a name other than
the default name "*vc-diff*".  Then don't try to switch to the buffer
"*vc-diff*" with an assumption that revert-buffer is always performed
in the current buffer (bug#28852).
lisp/vc/vc.el