]> git.eshelyaron.com Git - emacs.git/commit
Fix 'display-buffer-use-least-recent-window'
authormartin rudalics <rudalics@gmx.at>
Sun, 12 Feb 2023 09:33:11 +0000 (10:33 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Feb 2023 17:24:59 +0000 (19:24 +0200)
commit9f508cef85df64ccbafada477bbb17a8439bc839
treea5b47bb28e0906bdf4c4e237f77aa4a631700458
parent5190ea6259a5fd13ba5e87b92b20f450658cf532
Fix 'display-buffer-use-least-recent-window'

* src/window.c (Fwindow_use_time): Doc fix.
(Fwindow_bump_use_time): Bump use time of the seleceted window as
well.  Doc fix.

* lisp/window.el (display-buffer-avoid-small-windows): Remove.
All users changed.
(window--display-buffer): Bump window use time when requested.
(display-buffer--lru-window): New function.
(display-buffer-use-some-window): Use it.
(display-buffer-use-least-recent-window): Rewrite and enhance doc
string.

* doc/lispref/windows.texi (Selecting Windows)
(Buffer Display Action Functions, Buffer Display Action Alists)
(The Zen of Buffer Display): Improve and update documentation of
window selection and display facilities.
doc/lispref/windows.texi
lisp/window.el
src/window.c