summaryrefslogtreecommitdiff
path: root/doc/lispref/windows.texi
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2017-04-27 10:18:48 +0200
committerMartin Rudalics <rudalics@gmx.at>2017-04-27 10:18:48 +0200
commit79c5ea9911a9aba7db0ba0e367e06507cee2fc02 (patch)
treec94b6576e5d5d4fd0a53a700b911a6e470ecc79d /doc/lispref/windows.texi
parentee42f02c91a6d50d67e32c34a66029f5ee9a26ed (diff)
downloademacs-79c5ea9911a9aba7db0ba0e367e06507cee2fc02.tar.gz
emacs-79c5ea9911a9aba7db0ba0e367e06507cee2fc02.tar.bz2
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/windows.texi')
-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
window is created anyway).
@item window-size
-In this case @code{display-buffer} makes a new parent window if it is
-passed a @code{window-height} or @code{window-width} entry in the
-@var{alist} argument (@pxref{Display Action Functions}).
+This means that @code{display-buffer} makes a new parent window when it
+splits a window and is passed a @code{window-height} or
+@code{window-width} entry in the @var{alist} argument (@pxref{Display
+Action Functions}). Otherwise, window splitting behaves as for a value
+of @code{nil}.
+
+@item temp-buffer-resize
+In this case @code{with-temp-buffer-window} makes a new parent window
+when it splits a window and @code{temp-buffer-resize-mode} is enabled
+(@pxref{Temporary Displays}). Otherwise, window splitting behaves as
+for @code{nil}.
@item temp-buffer
-This value causes the creation of a new parent window when a window is
-split for showing a temporary buffer (@pxref{Temporary Displays}) only.
+In this case @code{with-temp-buffer-window} always makes a new parent
+window when it splits an existing window (@pxref{Temporary Displays}).
+Otherwise, window splitting behaves as for @code{nil}.
@item display-buffer
This means that when @code{display-buffer} (@pxref{Choosing Window})
-splits a window it always makes a new parent window.
+splits a window it always makes a new parent window. Otherwise, window
+splitting behaves as for @code{nil}.
@item t
-In this case a new parent window is always created when splitting a
-window. Thus, if the value of this variable is at all times @code{t},
-then at all times every window tree is a binary tree (a tree where each
-window except the root window has exactly one sibling).
+This means that splitting a window always creates a new parent window.
+Thus, if the value of this variable is at all times @code{t}, then at
+all times every window tree is a binary tree (a tree where each window
+except the root window has exactly one sibling).
@end table
-The default is @code{nil}. Other values are reserved for future use.
+The default is @code{window-size}. Other values are reserved for future
+use.
If, as a consequence of this variable's setting, @code{split-window}
makes a new parent window, it also calls