emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

windows.texi doc fix


From: david . ponce
Subject: windows.texi doc fix
Date: Tue, 19 Oct 2004 12:11:39 +0200 (CEST)

Hi,

Following is a small patch to the Elisp manual that fixes the missing
documentation of the `preserve-before' optional argument of the
functions `enlarge-window' and `shrink-window'.  I just added the
description I found in doc strings.

David

2004-10-19  David Ponce  <address@hidden>

        * windows.texi (Resizing Windows): Document the `preserve-before'
        argument of the functions `enlarge-window' and `shrink-window'.

Index: windows.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/windows.texi,v
retrieving revision 1.75
diff -c -r1.75 windows.texi
*** windows.texi        24 Jul 2004 15:33:15 -0000      1.75
--- windows.texi        19 Oct 2004 09:57:54 -0000
***************
*** 1922,1928 ****
  window size.  Emacs does not permit overlapping windows or gaps between
  windows, so resizing one window affects other windows.
  
! @deffn Command enlarge-window size &optional horizontal
  This function makes the selected window @var{size} lines taller,
  stealing lines from neighboring windows.  It takes the lines from one
  window at a time until that window is used up, then takes from another.
--- 1922,1928 ----
  window size.  Emacs does not permit overlapping windows or gaps between
  windows, so resizing one window affects other windows.
  
! @deffn Command enlarge-window size &optional horizontal preserve-before
  This function makes the selected window @var{size} lines taller,
  stealing lines from neighboring windows.  It takes the lines from one
  window at a time until that window is used up, then takes from another.
***************
*** 1950,1955 ****
--- 1950,1959 ----
  than the minimum size (@code{window-min-height} and
  @code{window-min-width}), @code{enlarge-window} deletes the window.
  
+ Optional third arg @var{preserve-before}, if address@hidden, means do
+ not change the size of the siblings above or to the left of the
+ selected window.  Only siblings to the right or below are changed.
+ 
  @code{enlarge-window} returns @code{nil}.
  @end deffn
  
***************
*** 1965,1971 ****
  @end example
  @end deffn
  
! @deffn Command shrink-window size &optional horizontal
  This function is like @code{enlarge-window} but negates the argument
  @var{size}, making the selected window smaller by giving lines (or
  columns) to the other windows.  If the window shrinks below
--- 1969,1975 ----
  @end example
  @end deffn
  
! @deffn Command shrink-window size &optional horizontal preserve-before
  This function is like @code{enlarge-window} but negates the argument
  @var{size}, making the selected window smaller by giving lines (or
  columns) to the other windows.  If the window shrinks below
***************
*** 1973,1978 ****
--- 1977,1986 ----
  
  If @var{size} is negative, the window is enlarged by @address@hidden
  lines or columns.
+ 
+ Optional third arg @var{preserve-before}, if address@hidden, means do
+ not change the size of the siblings above or to the left of the
+ selected window.  Only siblings to the right or below are changed.
  @end deffn
  
  @deffn Command shrink-window-horizontally columns





reply via email to

[Prev in Thread] Current Thread [Next in Thread]