changeset 40312:473610705e03

Explain how splitting windows relates to window-min-height and window-min-width.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 Oct 2001 15:31:10 +0000
parents a3a9223b152f
children b2ff79e90309
files lispref/windows.texi
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/windows.texi	Thu Oct 25 15:30:32 2001 +0000
+++ b/lispref/windows.texi	Thu Oct 25 15:31:10 2001 +0000
@@ -150,7 +150,7 @@
 part of its former screen area.  The rest is occupied by a newly created
 window which is returned as the value of this function.
 
-  If @var{horizontal} is non-@code{nil}, then @var{window} splits into
+If @var{horizontal} is non-@code{nil}, then @var{window} splits into
 two side by side windows.  The original window @var{window} keeps the
 leftmost @var{size} columns, and gives the rest of the columns to the
 new window.  Otherwise, it splits into windows one above the other, and
@@ -159,13 +159,17 @@
 left-hand or upper of the two, and the new window is the right-hand or
 lower.
 
-  If @var{window} is omitted or @code{nil}, then the selected window is
+If @var{window} is omitted or @code{nil}, then the selected window is
 split.  If @var{size} is omitted or @code{nil}, then @var{window} is
 divided evenly into two parts.  (If there is an odd line, it is
 allocated to the new window.)  When @code{split-window} is called
 interactively, all its arguments are @code{nil}.
 
-  The following example starts with one window on a screen that is 50
+If splitting would result in making a window that is smaller than
+@code{window-min-height} or @code{window-min-width}, the function
+signals an error and does not split the window at all.
+
+The following example starts with one window on a screen that is 50
 lines high by 80 columns wide; then the window is split.
 
 @smallexample