1922 |
window size. Emacs does not permit overlapping windows or gaps between |
window size. Emacs does not permit overlapping windows or gaps between |
1923 |
windows, so resizing one window affects other windows. |
windows, so resizing one window affects other windows. |
1924 |
|
|
1925 |
@deffn Command enlarge-window size &optional horizontal |
@deffn Command enlarge-window size &optional horizontal preserve-before |
1926 |
This function makes the selected window @var{size} lines taller, |
This function makes the selected window @var{size} lines taller, |
1927 |
stealing lines from neighboring windows. It takes the lines from one |
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. |
window at a time until that window is used up, then takes from another. |
1945 |
size of a fixed-size window, @code{enlarge-window} gets an error |
size of a fixed-size window, @code{enlarge-window} gets an error |
1946 |
instead. |
instead. |
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 |
|
|
1953 |
If @var{size} is negative, this function shrinks the window by |
If @var{size} is negative, this function shrinks the window by |
1954 |
@minus{}@var{size} lines or columns. If that makes the window smaller |
@minus{}@var{size} lines or columns. If that makes the window smaller |
1955 |
than the minimum size (@code{window-min-height} and |
than the minimum size (@code{window-min-height} and |
1970 |
@end example |
@end example |
1971 |
@end deffn |
@end deffn |
1972 |
|
|
1973 |
@deffn Command shrink-window size &optional horizontal |
@deffn Command shrink-window size &optional horizontal preserve-before |
1974 |
This function is like @code{enlarge-window} but negates the argument |
This function is like @code{enlarge-window} but negates the argument |
1975 |
@var{size}, making the selected window smaller by giving lines (or |
@var{size}, making the selected window smaller by giving lines (or |
1976 |
columns) to the other windows. If the window shrinks below |
columns) to the other windows. If the window shrinks below |