aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2011-11-20 11:57:04 +0100
committerMartin Rudalics2011-11-20 11:57:04 +0100
commitd2999b1a52779f1df2e32a7190ae3200eb85233d (patch)
treeff535788feef71973b5b0e41cb18a7bd92f5a973
parentf6cba7e0851e534ea71c276dfd13c4062bc84407 (diff)
downloademacs-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/ChangeLog5
-rw-r--r--doc/lispref/windows.texi18
-rw-r--r--src/ChangeLog6
-rw-r--r--src/window.c18
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 @@
12011-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
12011-11-20 Juanma Barranquero <lekktu@gmail.com> 62011-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
636The choice of which window edges this function alters depends on the 636The choice of which window edges this function alters depends on the
637values of the option @code{window-combination-resize} and the 637values of the option @code{window-combination-resize} and the
638combination-limit status of the involved windows; in some cases, it may 638combination limits of the involved windows; in some cases, it may alter
639alter both edges. @xref{Splitting Windows}. To resize by moving only 639both edges. @xref{Splitting Windows}. To resize by moving only the
640the bottom or right edge of a window, use the function 640bottom 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
958This functions sets the @dfn{combination limit} of the window 958This 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
960function @code{window-combination-limit}. See below for its effects; 960function @code{window-combination-limit}. See below for its effects;
961note that it is only meaningful for internal windows. The 961note 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
963passing the value of the variable @code{window-combination-limit} as 963the 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
973child windows of @var{window} with the child windows of one of its 973child windows of @var{window} with the child windows of one of its
974siblings to form a new window combination. If the combination limit 974siblings to form a new window combination. If the combination limit
975is @code{t}, the child windows of @var{window} are never automatically 975is @code{t}, the child windows of @var{window} are never automatically
976re-combined with its siblings'. 976re-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 @@
12011-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
12011-11-20 Andreas Schwab <schwab@linux-m68k.org> 72011-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
478DEFUN ("set-window-combination-limit", Fset_window_combination_limit, Sset_window_combination_limit, 2, 2, 0, 478DEFUN ("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.
480If STATUS is nil, child windows of WINDOW can be recombined with 480If LIMIT is nil, child windows of WINDOW can be recombined with
481WINDOW's siblings. STATUS t means that child windows of WINDOW are 481WINDOW's siblings. LIMIT t means that child windows of WINDOW are
482never \(re-)combined with WINDOW's siblings. Other values are reserved 482never \(re-)combined with WINDOW's siblings. Other values are reserved
483for future use. */) 483for 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
6533Other values are reserved for future use. 6533Other values are reserved for future use.
6534 6534
6535The value of this variable is also assigned to the combination-limit 6535The value of this variable is also assigned to the combination limit of
6536status of the new parent window. The combination-limit status of a 6536the new parent window. The combination limit of a window can be
6537window can be retrieved via the function `window-combination-limit' and 6537retrieved via the function `window-combination-limit' and altered by the
6538altered by the function `set-window-combination-limit'. */); 6538function `set-window-combination-limit'. */);
6539 Vwindow_combination_limit = Qnil; 6539 Vwindow_combination_limit = Qnil;
6540 6540
6541 defsubr (&Sselected_window); 6541 defsubr (&Sselected_window);