]> git.eshelyaron.com Git - emacs.git/commit
Fix window selection after log-edit-show-diff
authorSean Whitton <spwhitton@spwhitton.name>
Tue, 29 Oct 2024 01:40:02 +0000 (09:40 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Oct 2024 09:58:27 +0000 (10:58 +0100)
commit6cbea53d8605425f6df7182c978b9c712f805c2a
tree7ece3aa3251da728699db0b778f613244826d2f1
parentadc8423839d088b51a11ccbcd4e59a5c44a0f45b
Fix window selection after log-edit-show-diff

* lisp/vc/vc.el (vc-diff-patch-string): Use display-buffer, not
pop-to-buffer, for consistency with log-edit-diff-fileset.
(vc-modify-change-comment): Use save-selected-window around
vc-diff-internal to avoid leaving the *vc-diff* window selected,
for consistency with log-edit-diff-fileset.

(cherry picked from commit 40cf6f9009209b8c3363d057882611cd5d56f853)
lisp/vc/vc.el