aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-01-07 16:35:48 +0100
committerLars Ingebrigtsen2021-01-07 16:35:48 +0100
commit40a0f8a3a2ac790bb398c321e7eb6928da330511 (patch)
treef3afec5a6136ff483ca3c6e7e1427b2c2757eb6d /etc
parent0e6b74d2047452bb1fc3285921465132aeda0cb7 (diff)
downloademacs-40a0f8a3a2ac790bb398c321e7eb6928da330511.tar.gz
emacs-40a0f8a3a2ac790bb398c321e7eb6928da330511.zip
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/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 48fb4b88e15..14d6b45c929 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -373,6 +373,15 @@ disabled entirely.
373 373
374** Windows 374** Windows
375 375
376+++
377*** New 'display-buffer' function 'display-buffer-use-least-recent-window'
378This is like 'display-buffer-use-some-window', but won't reuse the
379current window, and when called repeatedly will try not to reuse a
380previously selected window.
381
382*** New function 'window-bump-use-time'.
383This updates the use time of a window.
384
376*** The key prefix 'C-x 4 1' displays next command buffer in the same window. 385*** The key prefix 'C-x 4 1' displays next command buffer in the same window.
377It's bound to the command 'same-window-prefix' that requests the buffer 386It's bound to the command 'same-window-prefix' that requests the buffer
378of the next command to be displayed in the same window. 387of the next command to be displayed in the same window.