diff options
| author | Glenn Morris | 2004-05-13 00:33:27 +0000 |
|---|---|---|
| committer | Glenn Morris | 2004-05-13 00:33:27 +0000 |
| commit | 876e266514ab494bebbcc607787798a17ee48025 (patch) | |
| tree | b067166d8dd22ce2d6042307f7f0b6e189565617 /src/window.c | |
| parent | eb15ce9e4ce589e48ed1bb8d6867c72dfdd508db (diff) | |
| download | emacs-876e266514ab494bebbcc607787798a17ee48025.tar.gz emacs-876e266514ab494bebbcc607787798a17ee48025.zip | |
(Fdisplay_buffer, Fsplit_window, split-height-threshold): Doc fix.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 34000bd61f9..c2927c2ea81 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3270,6 +3270,10 @@ If FRAME is nil, search only the selected frame | |||
| 3270 | unless `pop-up-frames' or `display-buffer-reuse-frames' is non-nil, | 3270 | unless `pop-up-frames' or `display-buffer-reuse-frames' is non-nil, |
| 3271 | which means search visible and iconified frames. | 3271 | which means search visible and iconified frames. |
| 3272 | 3272 | ||
| 3273 | If a full-width window on a splittable frame is available to display | ||
| 3274 | the buffer, it may be split, subject to the value of the variable | ||
| 3275 | `split-height-threshold'. | ||
| 3276 | |||
| 3273 | If `even-window-heights' is non-nil, window heights will be evened out | 3277 | If `even-window-heights' is non-nil, window heights will be evened out |
| 3274 | if displaying the buffer causes two vertically adjacent windows to be | 3278 | if displaying the buffer causes two vertically adjacent windows to be |
| 3275 | displayed. */) | 3279 | displayed. */) |
| @@ -3585,7 +3589,8 @@ DEFUN ("split-window", Fsplit_window, Ssplit_window, 0, 3, "", | |||
| 3585 | WINDOW defaults to selected one and SIZE to half its size. | 3589 | WINDOW defaults to selected one and SIZE to half its size. |
| 3586 | If optional third arg HORFLAG is non-nil, split side by side | 3590 | If optional third arg HORFLAG is non-nil, split side by side |
| 3587 | and put SIZE columns in the first of the pair. In that case, | 3591 | and put SIZE columns in the first of the pair. In that case, |
| 3588 | SIZE includes that window's scroll bar, or the divider column to its right. */) | 3592 | SIZE includes that window's scroll bar, or the divider column to its right. |
| 3593 | Returns the newly-created window. */) | ||
| 3589 | (window, size, horflag) | 3594 | (window, size, horflag) |
| 3590 | Lisp_Object window, size, horflag; | 3595 | Lisp_Object window, size, horflag; |
| 3591 | { | 3596 | { |
| @@ -6592,7 +6597,7 @@ See also `same-window-buffer-names'. */); | |||
| 6592 | next_screen_context_lines = 2; | 6597 | next_screen_context_lines = 2; |
| 6593 | 6598 | ||
| 6594 | DEFVAR_INT ("split-height-threshold", &split_height_threshold, | 6599 | DEFVAR_INT ("split-height-threshold", &split_height_threshold, |
| 6595 | doc: /* *display-buffer would prefer to split the largest window if this large. | 6600 | doc: /* *A window must be at least this tall to be eligible for splitting by `display-buffer'. |
| 6596 | If there is only one window, it is split regardless of this value. */); | 6601 | If there is only one window, it is split regardless of this value. */); |
| 6597 | split_height_threshold = 500; | 6602 | split_height_threshold = 500; |
| 6598 | 6603 | ||