Mercurial > emacs
comparison doc/lispref/windows.texi @ 98827:4a504448eb9c
(Choosing Window): Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 18 Oct 2008 16:33:17 +0000 |
parents | 38749a93f5a4 |
children | 4c36d8b3b766 |
comparison
equal
deleted
inserted
replaced
98826:6bec458afb55 | 98827:4a504448eb9c |
---|---|
949 | 949 |
950 Precisely how @code{display-buffer} finds or creates a window depends on | 950 Precisely how @code{display-buffer} finds or creates a window depends on |
951 the variables described below. | 951 the variables described below. |
952 @end deffn | 952 @end deffn |
953 | 953 |
954 @defun split-window-preferred-function window | 954 @defvar split-window-preferred-function |
955 This variable specifies how to split a window. Its value, if | 955 This variable specifies how to split a window. Its value, if |
956 non-@code{nil}, should be a function of one argument, which is a | 956 non-@code{nil}, should be a function of one argument, which is a |
957 window. If this variable specifies a function, @code{display-buffer} | 957 window. If this variable specifies a function, @code{display-buffer} |
958 will call it with one or more candidate windows when it looks for a | 958 will call it with one or more candidate windows when it looks for a |
959 window to split. If the argument @var{window} fits, the function is | 959 window to split. If the argument window fits, the function is |
960 expected to split it and return a new window. If the function returns | 960 expected 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 |
963 If the value of this variable is @code{nil}, @code{display-buffer} | |
964 uses the other variables described below to decide whether and which | |
965 window to split. | |
966 @end defvar | |
963 | 967 |
964 @defopt display-buffer-reuse-frames | 968 @defopt display-buffer-reuse-frames |
965 If this variable is non-@code{nil}, @code{display-buffer} searches | 969 If this variable is non-@code{nil}, @code{display-buffer} searches |
966 existing frames for a window displaying the buffer. If the buffer is | 970 existing frames for a window displaying the buffer. If the buffer is |
967 already displayed in a window in some frame, @code{display-buffer} makes | 971 already displayed in a window in some frame, @code{display-buffer} makes |