]> git.eshelyaron.com Git - emacs.git/commit
Allow C-x 4 4, C-x 5 5, C-x t t to handle commands that use switch-to-buffer
authorJuri Linkov <juri@linkov.net>
Thu, 9 Jun 2022 06:40:52 +0000 (09:40 +0300)
committerJuri Linkov <juri@linkov.net>
Thu, 9 Jun 2022 06:41:52 +0000 (09:41 +0300)
commitd7270b4445778b10a4d8ff9516dfa188ceeecf31
tree4157670768c97767ed622fce1b251604394cf946
parentec987e3e1786d06ffd306e5717b4d7fd118f05ac
Allow C-x 4 4, C-x 5 5, C-x t t to handle commands that use switch-to-buffer

* lisp/window.el (display-buffer-override-next-command):
Temporarily set switch-to-buffer-obey-display-actions to t,
and revert back to the original value afterwards.
This allows other-window-prefix, other-frame-prefix, other-tab-prefix,
windmove-display-in-direction to override the default behavior of
commands that use switch-to-buffer.
https://lists.gnu.org/archive/html/emacs-devel/2022-06/msg00483.html
lisp/window.el