diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-07 16:35:48 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-07 16:35:48 +0100 |
commit | 40a0f8a3a2ac790bb398c321e7eb6928da330511 (patch) | |
tree | f3afec5a6136ff483ca3c6e7e1427b2c2757eb6d /etc | |
parent | 0e6b74d2047452bb1fc3285921465132aeda0cb7 (diff) | |
download | emacs-40a0f8a3a2ac790bb398c321e7eb6928da330511.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -373,6 +373,15 @@ disabled entirely. ** Windows ++++ +*** New 'display-buffer' function 'display-buffer-use-least-recent-window' +This is like 'display-buffer-use-some-window', but won't reuse the +current window, and when called repeatedly will try not to reuse a +previously selected window. + +*** New function 'window-bump-use-time'. +This updates the use time of a window. + *** The key prefix 'C-x 4 1' displays next command buffer in the same window. It's bound to the command 'same-window-prefix' that requests the buffer of the next command to be displayed in the same window. |