# HG changeset patch # User Richard M. Stallman # Date 1011332653 0 # Node ID 401375284bf0031689ff6a63c5b42026ef91941e # Parent 55ed8ccce828354a3eff34b9a8f7b315234bfc76 Clarify how window-height relates to other things. Describe window-body-height. diff -r 55ed8ccce828 -r 401375284bf0 lispref/windows.texi --- a/lispref/windows.texi Fri Jan 18 05:42:23 2002 +0000 +++ b/lispref/windows.texi Fri Jan 18 05:44:13 2002 +0000 @@ -1647,10 +1647,11 @@ The following three functions return size information about a window: @defun window-height &optional window -This function returns the number of lines in @var{window}, including its -mode line. If @var{window} fills its entire frame, this is typically -one less than the value of @code{frame-height} on that frame (since the -last line is always reserved for the minibuffer). +This function returns the number of lines in @var{window}, including +its mode line and header line, if any. If @var{window} fills its +entire frame except for the echo area, and there is no tool bar, this +is typically one less than the value of @code{frame-height} on that +frame. If @var{window} is @code{nil}, the function uses the selected window. @@ -1670,6 +1671,12 @@ @end example @end defun +@tindex window-body-height +@defun window-body-height &optional window +Like @code{window-height} but the value does not include the +mode line (if any) or the header line (if any). +@end defun + @defun window-width &optional window This function returns the number of columns in @var{window}. If @var{window} fills its entire frame, this is the same as the value of