From 3ea059852617b4b419080024852ed69b0ffa2620 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Fri, 21 Aug 2015 17:54:10 +0200 Subject: [PATCH] Document `window-use-time' in Elisp manual * doc/lispref/windows.texi (Selecting Windows): Document `window-use-time'. --- ChangeLog.2 | 1 - doc/lispref/windows.texi | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog.2 b/ChangeLog.2 index 4803ff98c0c..3a93fda6f67 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -1353,7 +1353,6 @@ Fix customization type of `even-window-sizes'. * lisp/window.el (even-window-sizes): Fix customization type. - 2015-07-22 Martin Rudalics Optionally even widths of `display-buffer' windows. (Bug#21100) * lisp/window.el (quit-restore-window): Restore width if requested. diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 6814b4f0bea..e53edb3f821 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -1725,6 +1725,16 @@ function does not alter the list of most recently selected windows, nor the buffer list. @end defun +@cindex window use time +@cindex use time of window +@defun window-use-time &optional window +This functions returns the @dfn{use time} of window @var{window}. +@var{window} must be a live window and defaults to the selected one. +The window with the lowest use time is the least recently selected one. +The window with the highest use time is the most recently selected one. +@end defun + + @node Cyclic Window Ordering @section Cyclic Ordering of Windows @cindex cyclic ordering of windows -- 2.39.5