]> git.eshelyaron.com Git - emacs.git/commitdiff
Document `window-bump-use-time'
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 21 Sep 2021 17:47:57 +0000 (19:47 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 21 Sep 2021 17:48:01 +0000 (19:48 +0200)
* doc/lispref/windows.texi (Cyclic Window Ordering): Mention
window-bump-use-time.

doc/lispref/windows.texi
etc/NEWS

index 26f85df160e2d03bf05f6199bb2c8c52a4193070..44cd89d98c169422374432c23a93f6484937866f 100644 (file)
@@ -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
index 775d35fe97d6e9e971a43a4357305a28ac3db6d4..e5a3dedda7a93a994259238159613816638793ef 100644 (file)
--- 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.