Mercurial > emacs
changeset 98894:1e370d7d742a
(Resizing Windows): Remove var{} around window in
documentation of enlarge-window.
Rewrite documentation of window-min-height and window-min-width.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Sun, 19 Oct 2008 15:09:34 +0000 |
parents | 3fc5cdfe0577 |
children | dd86168504c6 |
files | doc/lispref/windows.texi |
diffstat | 1 files changed, 11 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/windows.texi Sun Oct 19 15:01:46 2008 +0000 +++ b/doc/lispref/windows.texi Sun Oct 19 15:09:34 2008 +0000 @@ -2066,9 +2066,9 @@ If a window from which lines are stolen shrinks below @code{window-min-height} lines, that window disappears. -If @var{horizontal} is non-@code{nil}, this function makes -@var{window} wider by @var{size} columns, stealing columns instead of -lines. If a window from which columns are stolen shrinks below +If @var{horizontal} is non-@code{nil}, this function makes the window +@var{size} columns wider, stealing columns instead of lines. If a +window from which columns are stolen shrinks below @code{window-min-width} columns, that window disappears. If the requested size would exceed that of the window's frame, then the @@ -2193,21 +2193,20 @@ @defopt window-min-height The value of this variable determines how short a window may become before it is automatically deleted. Making a window smaller than -@code{window-min-height} automatically deletes it, and no window may -be created shorter than this. The default value is 4. - -The absolute minimum window height is one; actions that change window -sizes reset this variable to one if it is less than one. +@code{window-min-height} automatically deletes it, and no window may be +created shorter than this. The value is measured in line units. When +the window wants a mode- and/or header-line, they are counted as one +line each. The default value of this variable is 4. A value less than +1 is ignored. @end defopt @defopt window-min-width The value of this variable determines how narrow a window may become before it is automatically deleted. Making a window smaller than @code{window-min-width} automatically deletes it, and no window may be -created narrower than this. The default value is 10. - -The absolute minimum window width is two; actions that change window -sizes reset this variable to two if it is less than two. +created narrower than this. The value is measured in characters and +includes any fringes or the scroll bar. The default value is 10. A +value less than 2 is ignored. @end defopt @node Coordinates and Windows