diff options
| author | David Ponce | 2004-10-22 11:20:12 +0000 |
|---|---|---|
| committer | David Ponce | 2004-10-22 11:20:12 +0000 |
| commit | 38be9dbb6f9b1204cd0d36ad032fc8e7a7524ef1 (patch) | |
| tree | 42123f05abcc28d181cc500cc40930c63d1bee76 | |
| parent | d5ddd795bdab373fe62ccfd099c270fd97da0964 (diff) | |
| download | emacs-38be9dbb6f9b1204cd0d36ad032fc8e7a7524ef1.tar.gz emacs-38be9dbb6f9b1204cd0d36ad032fc8e7a7524ef1.zip | |
(Resizing Windows): Document the `preserve-before' argument of the
functions `enlarge-window' and `shrink-window'.
| -rw-r--r-- | lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | lispref/windows.texi | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 6c9d83edb17..8f5544fb0fe 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-10-22 David Ponce <david@dponce.com> | ||
| 2 | |||
| 3 | * windows.texi (Resizing Windows): Document the `preserve-before' | ||
| 4 | argument of the functions `enlarge-window' and `shrink-window'. | ||
| 5 | |||
| 1 | 2004-10-19 Jason Rumney <jasonr@gnu.org> | 6 | 2004-10-19 Jason Rumney <jasonr@gnu.org> |
| 2 | 7 | ||
| 3 | * makefile.w32-in (elisp): Change order of arguments to makeinfo. | 8 | * makefile.w32-in (elisp): Change order of arguments to makeinfo. |
diff --git a/lispref/windows.texi b/lispref/windows.texi index 0fdc6734181..0bf3a9ed211 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -1922,7 +1922,7 @@ that change the size of windows and low-level functions that access | |||
| 1922 | window size. Emacs does not permit overlapping windows or gaps between | 1922 | window size. Emacs does not permit overlapping windows or gaps between |
| 1923 | windows, so resizing one window affects other windows. | 1923 | windows, so resizing one window affects other windows. |
| 1924 | 1924 | ||
| 1925 | @deffn Command enlarge-window size &optional horizontal | 1925 | @deffn Command enlarge-window size &optional horizontal preserve-before |
| 1926 | This function makes the selected window @var{size} lines taller, | 1926 | This function makes the selected window @var{size} lines taller, |
| 1927 | stealing lines from neighboring windows. It takes the lines from one | 1927 | stealing lines from neighboring windows. It takes the lines from one |
| 1928 | window at a time until that window is used up, then takes from another. | 1928 | window at a time until that window is used up, then takes from another. |
| @@ -1945,6 +1945,11 @@ other windows are ``robbed.'' If it would be necessary to alter the | |||
| 1945 | size of a fixed-size window, @code{enlarge-window} gets an error | 1945 | size of a fixed-size window, @code{enlarge-window} gets an error |
| 1946 | instead. | 1946 | instead. |
| 1947 | 1947 | ||
| 1948 | If @var{preserve-before} is non-@code{nil}, this function does not | ||
| 1949 | change the size of the siblings above or to the left of the selected | ||
| 1950 | window. Only the size of the siblings below or to the right of the | ||
| 1951 | selected window are changed. | ||
| 1952 | |||
| 1948 | If @var{size} is negative, this function shrinks the window by | 1953 | If @var{size} is negative, this function shrinks the window by |
| 1949 | @minus{}@var{size} lines or columns. If that makes the window smaller | 1954 | @minus{}@var{size} lines or columns. If that makes the window smaller |
| 1950 | than the minimum size (@code{window-min-height} and | 1955 | than the minimum size (@code{window-min-height} and |
| @@ -1965,7 +1970,7 @@ It could be defined as follows: | |||
| 1965 | @end example | 1970 | @end example |
| 1966 | @end deffn | 1971 | @end deffn |
| 1967 | 1972 | ||
| 1968 | @deffn Command shrink-window size &optional horizontal | 1973 | @deffn Command shrink-window size &optional horizontal preserve-before |
| 1969 | This function is like @code{enlarge-window} but negates the argument | 1974 | This function is like @code{enlarge-window} but negates the argument |
| 1970 | @var{size}, making the selected window smaller by giving lines (or | 1975 | @var{size}, making the selected window smaller by giving lines (or |
| 1971 | columns) to the other windows. If the window shrinks below | 1976 | columns) to the other windows. If the window shrinks below |