diff options
| author | Martin Rudalics | 2011-11-20 11:57:04 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2011-11-20 11:57:04 +0100 |
| commit | d2999b1a52779f1df2e32a7190ae3200eb85233d (patch) | |
| tree | ff535788feef71973b5b0e41cb18a7bd92f5a973 | |
| parent | f6cba7e0851e534ea71c276dfd13c4062bc84407 (diff) | |
| download | emacs-d2999b1a52779f1df2e32a7190ae3200eb85233d.tar.gz emacs-d2999b1a52779f1df2e32a7190ae3200eb85233d.zip | |
Remove term "status" with "window combination limits".
* window.c (Fset_window_combination_limit): Rename argument
STATUS to LIMIT.
(Vwindow_combination_limit): Remove "status" from doc-string.
* windows.texi (Resizing Windows, Splitting Windows): Remove
term "status" when talking about combination limits.
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 18 | ||||
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/window.c | 18 |
4 files changed, 29 insertions, 18 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 150731bdb98..e8eaa00e0fa 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-11-20 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * windows.texi (Resizing Windows, Splitting Windows): Remove | ||
| 4 | term "status" when talking about combination limits. | ||
| 5 | |||
| 1 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> | 6 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * compile.texi (Compiler Errors): | 8 | * compile.texi (Compiler Errors): |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 4e67fa6d740..4a3aff1dc46 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -635,9 +635,9 @@ function @code{window-resizable} above. | |||
| 635 | 635 | ||
| 636 | The choice of which window edges this function alters depends on the | 636 | The choice of which window edges this function alters depends on the |
| 637 | values of the option @code{window-combination-resize} and the | 637 | values of the option @code{window-combination-resize} and the |
| 638 | combination-limit status of the involved windows; in some cases, it may | 638 | combination limits of the involved windows; in some cases, it may alter |
| 639 | alter both edges. @xref{Splitting Windows}. To resize by moving only | 639 | both edges. @xref{Splitting Windows}. To resize by moving only the |
| 640 | the bottom or right edge of a window, use the function | 640 | bottom or right edge of a window, use the function |
| 641 | @code{adjust-window-trailing-edge}, below. | 641 | @code{adjust-window-trailing-edge}, below. |
| 642 | @end defun | 642 | @end defun |
| 643 | 643 | ||
| @@ -954,14 +954,14 @@ how the window tree is rearranged when the child windows are deleted | |||
| 954 | @end defopt | 954 | @end defopt |
| 955 | 955 | ||
| 956 | @cindex window combination limit | 956 | @cindex window combination limit |
| 957 | @defun set-window-combination-limit window status | 957 | @defun set-window-combination-limit window limit |
| 958 | This functions sets the @dfn{combination limit} of the window | 958 | This functions sets the @dfn{combination limit} of the window |
| 959 | @var{window} to @var{status}. This value can be retrieved via the | 959 | @var{window} to @var{limit}. This value can be retrieved via the |
| 960 | function @code{window-combination-limit}. See below for its effects; | 960 | function @code{window-combination-limit}. See below for its effects; |
| 961 | note that it is only meaningful for internal windows. The | 961 | note that it is only meaningful for internal windows. The |
| 962 | @code{split-window} function automatically calls this function, | 962 | @code{split-window} function automatically calls this function, passing |
| 963 | passing the value of the variable @code{window-combination-limit} as | 963 | the value of the variable @code{window-combination-limit} as |
| 964 | @var{status}. | 964 | @var{limit}. |
| 965 | @end defun | 965 | @end defun |
| 966 | 966 | ||
| 967 | @defun window-combination-limit window | 967 | @defun window-combination-limit window |
| @@ -973,7 +973,7 @@ it is @code{nil}, then Emacs is allowed to automatically delete | |||
| 973 | child windows of @var{window} with the child windows of one of its | 973 | child windows of @var{window} with the child windows of one of its |
| 974 | siblings to form a new window combination. If the combination limit | 974 | siblings to form a new window combination. If the combination limit |
| 975 | is @code{t}, the child windows of @var{window} are never automatically | 975 | is @code{t}, the child windows of @var{window} are never automatically |
| 976 | re-combined with its siblings'. | 976 | re-combined with its siblings. |
| 977 | @end defun | 977 | @end defun |
| 978 | 978 | ||
| 979 | To illustrate the effect of @code{window-combination-limit}, | 979 | To illustrate the effect of @code{window-combination-limit}, |
diff --git a/src/ChangeLog b/src/ChangeLog index 75eeebd7b5c..94a02e6e9ba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-11-20 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * window.c (Fset_window_combination_limit): Rename argument | ||
| 4 | STATUS to LIMIT. | ||
| 5 | (Vwindow_combination_limit): Remove "status" from doc-string. | ||
| 6 | |||
| 1 | 2011-11-20 Andreas Schwab <schwab@linux-m68k.org> | 7 | 2011-11-20 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 8 | ||
| 3 | * m/ibms390.h: Remove. | 9 | * m/ibms390.h: Remove. |
diff --git a/src/window.c b/src/window.c index 776f097b59e..4a5dcd85631 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -476,16 +476,16 @@ WINDOW are never \(re-)combined with WINDOW's siblings. */) | |||
| 476 | } | 476 | } |
| 477 | 477 | ||
| 478 | DEFUN ("set-window-combination-limit", Fset_window_combination_limit, Sset_window_combination_limit, 2, 2, 0, | 478 | DEFUN ("set-window-combination-limit", Fset_window_combination_limit, Sset_window_combination_limit, 2, 2, 0, |
| 479 | doc: /* Set combination limit of window WINDOW to STATUS; return STATUS. | 479 | doc: /* Set combination limit of window WINDOW to LIMIT; return LIMIT. |
| 480 | If STATUS is nil, child windows of WINDOW can be recombined with | 480 | If LIMIT is nil, child windows of WINDOW can be recombined with |
| 481 | WINDOW's siblings. STATUS t means that child windows of WINDOW are | 481 | WINDOW's siblings. LIMIT t means that child windows of WINDOW are |
| 482 | never \(re-)combined with WINDOW's siblings. Other values are reserved | 482 | never \(re-)combined with WINDOW's siblings. Other values are reserved |
| 483 | for future use. */) | 483 | for future use. */) |
| 484 | (Lisp_Object window, Lisp_Object status) | 484 | (Lisp_Object window, Lisp_Object limit) |
| 485 | { | 485 | { |
| 486 | register struct window *w = decode_any_window (window); | 486 | register struct window *w = decode_any_window (window); |
| 487 | 487 | ||
| 488 | w->combination_limit = status; | 488 | w->combination_limit = limit; |
| 489 | 489 | ||
| 490 | return w->combination_limit; | 490 | return w->combination_limit; |
| 491 | } | 491 | } |
| @@ -6532,10 +6532,10 @@ sibling. | |||
| 6532 | 6532 | ||
| 6533 | Other values are reserved for future use. | 6533 | Other values are reserved for future use. |
| 6534 | 6534 | ||
| 6535 | The value of this variable is also assigned to the combination-limit | 6535 | The value of this variable is also assigned to the combination limit of |
| 6536 | status of the new parent window. The combination-limit status of a | 6536 | the new parent window. The combination limit of a window can be |
| 6537 | window can be retrieved via the function `window-combination-limit' and | 6537 | retrieved via the function `window-combination-limit' and altered by the |
| 6538 | altered by the function `set-window-combination-limit'. */); | 6538 | function `set-window-combination-limit'. */); |
| 6539 | Vwindow_combination_limit = Qnil; | 6539 | Vwindow_combination_limit = Qnil; |
| 6540 | 6540 | ||
| 6541 | defsubr (&Sselected_window); | 6541 | defsubr (&Sselected_window); |