diff options
| author | Richard M. Stallman | 2006-06-02 02:12:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-06-02 02:12:22 +0000 |
| commit | f3aead2ff7a4506bde0383f016257d51b75ccf95 (patch) | |
| tree | d5999a81051301af15e6ee062c19b60240b88e93 | |
| parent | 933907e9fa3a240eac97c9768447d0b2adc7874e (diff) | |
| download | emacs-f3aead2ff7a4506bde0383f016257d51b75ccf95.tar.gz emacs-f3aead2ff7a4506bde0383f016257d51b75ccf95.zip | |
(Splitting Windows): Clarify splitting nonselected window.
| -rw-r--r-- | lispref/windows.texi | 18 |
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 | |||
| 161 | previously visible in the window that was split. | 161 | previously 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 |
| 164 | This function splits @var{window} into two windows. The original | 164 | This function splits a new window out of @var{window}'s screen area. |
| 165 | window @var{window} remains the selected window, but occupies only | 165 | It returns the new window. |
| 166 | part of its former screen area. The rest is occupied by a newly created | ||
| 167 | window which is returned as the value of this function. | ||
| 168 | 166 | ||
| 169 | If @var{horizontal} is non-@code{nil}, then @var{window} splits into | 167 | If @var{horizontal} is non-@code{nil}, then @var{window} splits into |
| 170 | two side by side windows. The original window @var{window} keeps the | 168 | two 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 | |||
| 175 | left-hand or upper of the two, and the new window is the right-hand or | 173 | left-hand or upper of the two, and the new window is the right-hand or |
| 176 | lower. | 174 | lower. |
| 177 | 175 | ||
| 178 | If @var{window} is omitted or @code{nil}, then the selected window is | 176 | If @var{window} is omitted or @code{nil}, that stands for the selected |
| 179 | split. If @var{size} is omitted or @code{nil}, then @var{window} is | 177 | window. When you split the selected window, it remains selected. |
| 180 | divided evenly into two parts. (If there is an odd line, it is | 178 | |
| 181 | allocated to the new window.) When @code{split-window} is called | 179 | If @var{size} is omitted or @code{nil}, then @var{window} is divided |
| 182 | interactively, all its arguments are @code{nil}. | 180 | evenly into two parts. (If there is an odd line, it is allocated to |
| 181 | the new window.) When @code{split-window} is called interactively, | ||
| 182 | all its arguments are @code{nil}. | ||
| 183 | 183 | ||
| 184 | If splitting would result in making a window that is smaller than | 184 | If 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 |