From: Lars Ingebrigtsen Date: Tue, 21 Sep 2021 17:47:57 +0000 (+0200) Subject: Document `window-bump-use-time' X-Git-Tag: emacs-28.0.90~767 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=314f27014e508eae46dea961e5c45683dfc99366;p=emacs.git Document `window-bump-use-time' * doc/lispref/windows.texi (Cyclic Window Ordering): Mention window-bump-use-time. --- 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.