From 314f27014e508eae46dea961e5c45683dfc99366 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 21 Sep 2021 19:47:57 +0200 Subject: [PATCH] Document `window-bump-use-time' * doc/lispref/windows.texi (Cyclic Window Ordering): Mention window-bump-use-time. --- doc/lispref/windows.texi | 5 +++++ etc/NEWS | 1 + 2 files changed, 6 insertions(+) diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 26f85df160e..44cd89d98c1 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -2081,6 +2081,11 @@ windows to search, and have the same meanings as in @code{next-window}. @end defun +@defun window-bump-use-time window +This function marks @var{window} has having been recently used. This +can be useful when creating certain @code{pop-to-buffer} scenarios. +@end defun + @node Buffers and Windows @section Buffers and Windows diff --git a/etc/NEWS b/etc/NEWS index 775d35fe97d..e5a3dedda7a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -382,6 +382,7 @@ 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. -- 2.39.5