aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorMartin Rudalics2017-04-27 10:18:48 +0200
committerMartin Rudalics2017-04-27 10:18:48 +0200
commit79c5ea9911a9aba7db0ba0e367e06507cee2fc02 (patch)
treec94b6576e5d5d4fd0a53a700b911a6e470ecc79d /doc/lispref
parentee42f02c91a6d50d67e32c34a66029f5ee9a26ed (diff)
downloademacs-79c5ea9911a9aba7db0ba0e367e06507cee2fc02.tar.gz
emacs-79c5ea9911a9aba7db0ba0e367e06507cee2fc02.zip
Fix doc and customization type of `window-combination-limit' (Bug#26673)
* src/window.c (Vwindow_combination_limit): Fix doc-string. * lisp/cus-start.el (window-combination-limit): Fix customization type. * doc/lispref/windows.texi (Recombining Windows): Fix documentation of `window-combination-limit'.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/windows.texi33
1 files changed, 22 insertions, 11 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index fed2dea7572..b015233753f 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -1516,26 +1516,37 @@ direction as the existing window combination (otherwise, a new internal
1516window is created anyway). 1516window is created anyway).
1517 1517
1518@item window-size 1518@item window-size
1519In this case @code{display-buffer} makes a new parent window if it is 1519This means that @code{display-buffer} makes a new parent window when it
1520passed a @code{window-height} or @code{window-width} entry in the 1520splits a window and is passed a @code{window-height} or
1521@var{alist} argument (@pxref{Display Action Functions}). 1521@code{window-width} entry in the @var{alist} argument (@pxref{Display
1522Action Functions}). Otherwise, window splitting behaves as for a value
1523of @code{nil}.
1524
1525@item temp-buffer-resize
1526In this case @code{with-temp-buffer-window} makes a new parent window
1527when it splits a window and @code{temp-buffer-resize-mode} is enabled
1528(@pxref{Temporary Displays}). Otherwise, window splitting behaves as
1529for @code{nil}.
1522 1530
1523@item temp-buffer 1531@item temp-buffer
1524This value causes the creation of a new parent window when a window is 1532In this case @code{with-temp-buffer-window} always makes a new parent
1525split for showing a temporary buffer (@pxref{Temporary Displays}) only. 1533window when it splits an existing window (@pxref{Temporary Displays}).
1534Otherwise, window splitting behaves as for @code{nil}.
1526 1535
1527@item display-buffer 1536@item display-buffer
1528This means that when @code{display-buffer} (@pxref{Choosing Window}) 1537This means that when @code{display-buffer} (@pxref{Choosing Window})
1529splits a window it always makes a new parent window. 1538splits a window it always makes a new parent window. Otherwise, window
1539splitting behaves as for @code{nil}.
1530 1540
1531@item t 1541@item t
1532In this case a new parent window is always created when splitting a 1542This means that splitting a window always creates a new parent window.
1533window. Thus, if the value of this variable is at all times @code{t}, 1543Thus, if the value of this variable is at all times @code{t}, then at
1534then at all times every window tree is a binary tree (a tree where each 1544all times every window tree is a binary tree (a tree where each window
1535window except the root window has exactly one sibling). 1545except the root window has exactly one sibling).
1536@end table 1546@end table
1537 1547
1538The default is @code{nil}. Other values are reserved for future use. 1548The default is @code{window-size}. Other values are reserved for future
1549use.
1539 1550
1540If, as a consequence of this variable's setting, @code{split-window} 1551If, as a consequence of this variable's setting, @code{split-window}
1541makes a new parent window, it also calls 1552makes a new parent window, it also calls