]> git.eshelyaron.com Git - emacs.git/commit
Add a display-buffer window selection function that's more like XEmacs
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 7 Jan 2021 15:35:48 +0000 (16:35 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 7 Jan 2021 15:35:48 +0000 (16:35 +0100)
commit40a0f8a3a2ac790bb398c321e7eb6928da330511
treef3afec5a6136ff483ca3c6e7e1427b2c2757eb6d
parent0e6b74d2047452bb1fc3285921465132aeda0cb7
Add a display-buffer window selection function that's more like XEmacs

* doc/lispref/windows.texi (Buffer Display Action Functions):
Document it.
* lisp/window.el (display-buffer--action-function-custom-type): Add.
(display-buffer): Mention it.
(display-buffer-use-least-recent-window): New function (bug#45688).

* src/window.c (Fwindow_bump_use_time): New function.
doc/lispref/windows.texi
etc/NEWS
lisp/window.el
src/window.c