diff options
| author | Eli Zaretskii | 2008-10-18 16:33:17 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-18 16:33:17 +0000 |
| commit | ef5fbab75bd5501e989bdd73ff4f5b4457f27f57 (patch) | |
| tree | 32a3b917485fef3376d39b4fc0944f360d68a632 | |
| parent | c23dcd9fa3d1dd3b6e72cc4627808d13cd44d579 (diff) | |
| download | emacs-ef5fbab75bd5501e989bdd73ff4f5b4457f27f57.tar.gz emacs-ef5fbab75bd5501e989bdd73ff4f5b4457f27f57.zip | |
(Choosing Window): Fix last change.
| -rw-r--r-- | doc/lispref/windows.texi | 12 |
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 | |||
| 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 |