]> git.eshelyaron.com Git - emacs.git/commit
Don't switch to another frame if window is not on the selected frame.
authorJuri Linkov <juri@linkov.net>
Thu, 17 Apr 2025 18:21:29 +0000 (21:21 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 18 Apr 2025 06:46:56 +0000 (08:46 +0200)
commitf3057ad11d77f2008f14ef82699997fb1cafeb97
tree76187de2b11d8f05f0460719ffd9e1b13f814427
parent1a49a8f652c1eb1420c0dc19c543ed942b0f74eb
Don't switch to another frame if window is not on the selected frame.

* lisp/window.el (window--quit-restore-select-window):
Add optional arg 'frame'.  Don't switch to another frame
if window is not on the selected frame (bug#71386).
(quit-restore-window): Provide the 'frame' arg
to 'window--quit-restore-select-window' calls.
Patch by martin rudalics <rudalics@gmx.at>.

* test/lisp/tab-bar-tests.el (tab-bar-tests-quit-restore-window):
No need to reselect the frame after 'quit-window'.

(cherry picked from commit 9f4347e00c02c3aa436118425a0cda2bc7f69d51)
lisp/window.el
test/lisp/tab-bar-tests.el