]> code.delx.au - gnu-emacs/commitdiff
(Resizing Windows): Remove var{} around window in
authorMartin Rudalics <rudalics@gmx.at>
Sun, 19 Oct 2008 15:12:48 +0000 (15:12 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 19 Oct 2008 15:12:48 +0000 (15:12 +0000)
documentation of enlarge-window.
Rewrite documentation of window-min-height and window-min-width.

doc/lispref/ChangeLog
doc/lispref/windows.texi

index ffb7b48cb4c5132db7f1a01ce57d4552d38f5852..7e107a0532c891a82ded9754f0642848b6c68f61 100644 (file)
@@ -1,3 +1,9 @@
+2008-10-19  Martin Rudalics  <rudalics@gmx.at>
+
+       * windows.texi (Resizing Windows): Remove var{} around "window" in
+       documentation of enlarge-window.
+       Rewrite documentation of window-min-height and window-min-width.
+
 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
 
        * functions.texi (Calling Functions): Document `apply-partially'.
index 4316c1eaa5519dbeb93d9dcb19310aefe49a0e42..38d21637b604d1d61abd8ea89af44766b3662edb 100644 (file)
@@ -2066,9 +2066,9 @@ window at a time until that window is used up, then takes from another.
 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 @@ functions to a minimum height and width.
 @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