]> git.eshelyaron.com Git - emacs.git/commit
Fix display-buffer-override-next-command for no-select case (bug#49057)
authorJuri Linkov <juri@linkov.net>
Thu, 17 Jun 2021 19:53:57 +0000 (22:53 +0300)
committerJuri Linkov <juri@linkov.net>
Thu, 17 Jun 2021 19:53:57 +0000 (22:53 +0300)
commit45acbe6d622f807ff960e1c2fe92127188f57f68
treedc399482ae0b216bb7b75b5dfdb843068c6892cf
parentff053c706cb903534936c45b04a2aa38e3db1261
Fix display-buffer-override-next-command for no-select case (bug#49057)

* lisp/window.el (display-buffer-override-next-command):
Separate 'postfun' from 'clearfun', so 'clearfun' resets
'display-buffer-overriding-action', whereas 'postfun' calls
'post-function' that can select the right window in 'post-command-hook'.

* lisp/windmove.el (windmove-display-no-select): Add new choice 'ignore'.
Improve docstring.
(windmove-display-in-direction): Use new value 'ignore' of
'windmove-display-no-select'.  Improve docstring.
(windmove-display-left, windmove-display-up)
(windmove-display-right, windmove-display-down): Mention
'windmove-display-no-select' in docstrings.
lisp/windmove.el
lisp/window.el