Mercurial > emacs
changeset 98794:72fc90d94beb
(Basic Windows, Splitting Windows): Fix whitespace and reword.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Fri, 17 Oct 2008 13:15:56 +0000 |
parents | dacb22ab326b |
children | 79058aa99a5d |
files | doc/lispref/windows.texi |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/windows.texi Fri Oct 17 13:03:30 2008 +0000 +++ b/doc/lispref/windows.texi Fri Oct 17 13:15:56 2008 +0000 @@ -87,7 +87,7 @@ the buffer it displays @item -position within the buffer at the upper left of the window +buffer position at the upper left corner of the window @item amount of horizontal scrolling, in columns @@ -273,7 +273,7 @@ This function splits the selected window into two windows, one above the other, leaving the upper of the two windows selected, with @var{size} lines. (If @var{size} is negative, then the lower of the two windows -gets @minus{} @var{size} lines and the upper window gets the rest, but +gets @minus{}@var{size} lines and the upper window gets the rest, but the upper window is still the one selected.) However, if @code{split-window-keep-point} (see below) is @code{nil}, then either window can be selected. @@ -292,15 +292,15 @@ slow terminals.) It selects whichever window contains the screen line that point was previously on. -This variable only affects the behavior of @code{split-window-vertically}. -It has no effect on the other functions described here. +This variable affects the behavior of @code{split-window-vertically} +only. It has no effect on the other functions described here. @end defopt @deffn Command split-window-horizontally &optional size This function splits the selected window into two windows side-by-side, leaving the selected window on the left with @var{size} columns. If @var{size} is negative, the rightmost window gets -@minus{} @var{size} columns, but the leftmost window still remains +@minus{}@var{size} columns, but the leftmost window still remains selected. This function is basically an interface to @code{split-window}. @@ -315,7 +315,7 @@ @group (let ((size (and arg (prefix-numeric-value arg)))) (and size (< size 0) - (setq size (+ (window-width) size))) + (setq size (+ (window-width) size))) (split-window nil size t))) @end group @end smallexample