bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

window-height documentation doesn't mention header-line-format


From: Allograph Petrofsky
Subject: window-height documentation doesn't mention header-line-format
Date: Wed, 16 Jan 2002 23:53:22 -0800

In emacs 21.1,

The doc string for window-height and the info node "(elisp) Size of
Window" fail to mention that the header line is included in the return
value.

It seems there should be a window-body-height function that returns
the window height minus zero, one, or two, according to the value of
mode-line-format and header-line-format in the buffer that the window
displays.  I imagine there are many instances of (1- (window-height))
that need to be changed to calls to window-body-height.

-al



reply via email to

[Prev in Thread] Current Thread [Next in Thread]