/[emacs]/emacs/lispref/windows.texi
ViewVC logotype

Diff of /emacs/lispref/windows.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.75 by teirllm, Sat Jul 24 15:33:15 2004 UTC revision 1.76 by dpe, Fri Oct 22 11:19:51 2004 UTC
# Line 1922  that change the size of windows and low- Line 1922  that change the size of windows and low-
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.
# Line 1945  other windows are ``robbed.''  If it wou Line 1945  other windows are ``robbed.''  If it wou
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
# Line 1965  It could be defined as follows: Line 1970  It could be defined as follows:
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

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26