aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-10-18 16:33:17 +0000
committerEli Zaretskii2008-10-18 16:33:17 +0000
commitef5fbab75bd5501e989bdd73ff4f5b4457f27f57 (patch)
tree32a3b917485fef3376d39b4fc0944f360d68a632
parentc23dcd9fa3d1dd3b6e72cc4627808d13cd44d579 (diff)
downloademacs-ef5fbab75bd5501e989bdd73ff4f5b4457f27f57.tar.gz
emacs-ef5fbab75bd5501e989bdd73ff4f5b4457f27f57.zip
(Choosing Window): Fix last change.
-rw-r--r--doc/lispref/windows.texi12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 09cfff227d4..d31f8ee7798 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -951,15 +951,19 @@ Precisely how @code{display-buffer} finds or creates a window depends on
951the variables described below. 951the variables described below.
952@end deffn 952@end deffn
953 953
954@defun split-window-preferred-function window 954@defvar split-window-preferred-function
955This variable specifies how to split a window. Its value, if 955This variable specifies how to split a window. Its value, if
956non-@code{nil}, should be a function of one argument, which is a 956non-@code{nil}, should be a function of one argument, which is a
957window. If this variable specifies a function, @code{display-buffer} 957window. If this variable specifies a function, @code{display-buffer}
958will call it with one or more candidate windows when it looks for a 958will call it with one or more candidate windows when it looks for a
959window to split. If the argument @var{window} fits, the function is 959window to split. If the argument window fits, the function is
960expected to split it and return a new window. If the function returns 960expected to split it and return a new window. If the function returns
961@code{nil}, then @var{window} will not be split. 961@code{nil}, then this window will not be split.
962@end defun 962
963If the value of this variable is @code{nil}, @code{display-buffer}
964uses the other variables described below to decide whether and which
965window to split.
966@end defvar
963 967
964@defopt display-buffer-reuse-frames 968@defopt display-buffer-reuse-frames
965If this variable is non-@code{nil}, @code{display-buffer} searches 969If this variable is non-@code{nil}, @code{display-buffer} searches