Mercurial > emacs
changeset 58749:6f8d4406a676
(Selecting Windows): get-lru-window and
get-largest-window don't consider dedicated windows.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 03 Dec 2004 11:27:53 +0000 |
parents | e347a194391a |
children | 127015d55356 |
files | lispref/windows.texi |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/windows.texi Fri Dec 03 11:27:02 2004 +0000 +++ b/lispref/windows.texi Fri Dec 03 11:27:53 2004 +0000 @@ -488,7 +488,9 @@ The selected window can be the least recently used window if it is the only window. A newly created window becomes the least recently used -window until it is selected. A minibuffer window is never a candidate. +window until it is selected. A minibuffer window is never a +candidate. Dedicated windows are never candidates, and if all +existing windows are dedicated, the value is @code{nil}. The argument @var{frame} controls which windows are considered. @@ -510,10 +512,12 @@ This function returns the window with the largest area (height times width). If there are no side-by-side windows, then this is the window with the most lines. A minibuffer window is never a candidate. +Dedicated windows are never candidates, and if all existing windows +are dedicated, the value is @code{nil}. -If there are two windows of the same size, then the function returns -the window that is first in the cyclic ordering of windows (see -following section), starting from the selected window. +If there are two candidate windows of the same size, this function +prefers the one that comes first in the cyclic ordering of windows +(see following section), starting from the selected window. The argument @var{frame} controls which set of windows to consider. See @code{get-lru-window}, above.