aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorGlenn Morris2004-05-13 00:33:27 +0000
committerGlenn Morris2004-05-13 00:33:27 +0000
commit876e266514ab494bebbcc607787798a17ee48025 (patch)
treeb067166d8dd22ce2d6042307f7f0b6e189565617 /src/window.c
parenteb15ce9e4ce589e48ed1bb8d6867c72dfdd508db (diff)
downloademacs-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.c9
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
3273If a full-width window on a splittable frame is available to display
3274the buffer, it may be split, subject to the value of the variable
3275`split-height-threshold'.
3276
3273If `even-window-heights' is non-nil, window heights will be evened out 3277If `even-window-heights' is non-nil, window heights will be evened out
3274if displaying the buffer causes two vertically adjacent windows to be 3278if displaying the buffer causes two vertically adjacent windows to be
3275displayed. */) 3279displayed. */)
@@ -3585,7 +3589,8 @@ DEFUN ("split-window", Fsplit_window, Ssplit_window, 0, 3, "",
3585WINDOW defaults to selected one and SIZE to half its size. 3589WINDOW defaults to selected one and SIZE to half its size.
3586If optional third arg HORFLAG is non-nil, split side by side 3590If optional third arg HORFLAG is non-nil, split side by side
3587and put SIZE columns in the first of the pair. In that case, 3591and put SIZE columns in the first of the pair. In that case,
3588SIZE includes that window's scroll bar, or the divider column to its right. */) 3592SIZE includes that window's scroll bar, or the divider column to its right.
3593Returns 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'.
6596If there is only one window, it is split regardless of this value. */); 6601If there is only one window, it is split regardless of this value. */);
6597 split_height_threshold = 500; 6602 split_height_threshold = 500;
6598 6603