aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-06-02 02:12:22 +0000
committerRichard M. Stallman2006-06-02 02:12:22 +0000
commitf3aead2ff7a4506bde0383f016257d51b75ccf95 (patch)
treed5999a81051301af15e6ee062c19b60240b88e93
parent933907e9fa3a240eac97c9768447d0b2adc7874e (diff)
downloademacs-f3aead2ff7a4506bde0383f016257d51b75ccf95.tar.gz
emacs-f3aead2ff7a4506bde0383f016257d51b75ccf95.zip
(Splitting Windows): Clarify splitting nonselected window.
-rw-r--r--lispref/windows.texi18
1 files changed, 9 insertions, 9 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi
index a2746889633..af73339a311 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -161,10 +161,8 @@ The two ``halves'' of the split window initially display the same buffer
161previously visible in the window that was split. 161previously visible in the window that was split.
162 162
163@deffn Command split-window &optional window size horizontal 163@deffn Command split-window &optional window size horizontal
164This function splits @var{window} into two windows. The original 164This function splits a new window out of @var{window}'s screen area.
165window @var{window} remains the selected window, but occupies only 165It returns the new window.
166part of its former screen area. The rest is occupied by a newly created
167window which is returned as the value of this function.
168 166
169If @var{horizontal} is non-@code{nil}, then @var{window} splits into 167If @var{horizontal} is non-@code{nil}, then @var{window} splits into
170two side by side windows. The original window @var{window} keeps the 168two side by side windows. The original window @var{window} keeps the
@@ -175,11 +173,13 @@ lines to the new window. The original window is therefore the
175left-hand or upper of the two, and the new window is the right-hand or 173left-hand or upper of the two, and the new window is the right-hand or
176lower. 174lower.
177 175
178If @var{window} is omitted or @code{nil}, then the selected window is 176If @var{window} is omitted or @code{nil}, that stands for the selected
179split. If @var{size} is omitted or @code{nil}, then @var{window} is 177window. When you split the selected window, it remains selected.
180divided evenly into two parts. (If there is an odd line, it is 178
181allocated to the new window.) When @code{split-window} is called 179If @var{size} is omitted or @code{nil}, then @var{window} is divided
182interactively, all its arguments are @code{nil}. 180evenly into two parts. (If there is an odd line, it is allocated to
181the new window.) When @code{split-window} is called interactively,
182all its arguments are @code{nil}.
183 183
184If splitting would result in making a window that is smaller than 184If splitting would result in making a window that is smaller than
185@code{window-min-height} or @code{window-min-width}, the function 185@code{window-min-height} or @code{window-min-width}, the function