diff options
| author | Karoly Lorentey | 2004-05-18 19:12:15 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-05-18 19:12:15 +0000 |
| commit | c23670f81e059ebe645c88575f4ddfa67f26bf6b (patch) | |
| tree | 71667a6ceaa877ccf3953abedfa7b0fd5f0f5369 /src/window.c | |
| parent | d9858e4f1889a61b216ae1f99053846362067ccc (diff) | |
| parent | a7f7f2540f02834ad128d0c9357a4dbd8222dff4 (diff) | |
| download | emacs-c23670f81e059ebe645c88575f4ddfa67f26bf6b.tar.gz emacs-c23670f81e059ebe645c88575f4ddfa67f26bf6b.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-299
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-300
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-301
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-302
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-303
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-304
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-305
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-306
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-307
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-308
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-309
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-310
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-311
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-312
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-313
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-314
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-315
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-316
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-317
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-318
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-319
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-320
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-321
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-322
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-323
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-324
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-163
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 8a2c16598ec..03ca22dd525 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3272,6 +3272,10 @@ If FRAME is nil, search only the selected frame | |||
| 3272 | unless `pop-up-frames' or `display-buffer-reuse-frames' is non-nil, | 3272 | unless `pop-up-frames' or `display-buffer-reuse-frames' is non-nil, |
| 3273 | which means search visible and iconified frames. | 3273 | which means search visible and iconified frames. |
| 3274 | 3274 | ||
| 3275 | If a full-width window on a splittable frame is available to display | ||
| 3276 | the buffer, it may be split, subject to the value of the variable | ||
| 3277 | `split-height-threshold'. | ||
| 3278 | |||
| 3275 | If `even-window-heights' is non-nil, window heights will be evened out | 3279 | If `even-window-heights' is non-nil, window heights will be evened out |
| 3276 | if displaying the buffer causes two vertically adjacent windows to be | 3280 | if displaying the buffer causes two vertically adjacent windows to be |
| 3277 | displayed. */) | 3281 | displayed. */) |
| @@ -3587,7 +3591,8 @@ DEFUN ("split-window", Fsplit_window, Ssplit_window, 0, 3, "", | |||
| 3587 | WINDOW defaults to selected one and SIZE to half its size. | 3591 | WINDOW defaults to selected one and SIZE to half its size. |
| 3588 | If optional third arg HORFLAG is non-nil, split side by side | 3592 | If optional third arg HORFLAG is non-nil, split side by side |
| 3589 | and put SIZE columns in the first of the pair. In that case, | 3593 | and put SIZE columns in the first of the pair. In that case, |
| 3590 | SIZE includes that window's scroll bar, or the divider column to its right. */) | 3594 | SIZE includes that window's scroll bar, or the divider column to its right. |
| 3595 | Returns the newly-created window. */) | ||
| 3591 | (window, size, horflag) | 3596 | (window, size, horflag) |
| 3592 | Lisp_Object window, size, horflag; | 3597 | Lisp_Object window, size, horflag; |
| 3593 | { | 3598 | { |
| @@ -6594,7 +6599,7 @@ See also `same-window-buffer-names'. */); | |||
| 6594 | next_screen_context_lines = 2; | 6599 | next_screen_context_lines = 2; |
| 6595 | 6600 | ||
| 6596 | DEFVAR_INT ("split-height-threshold", &split_height_threshold, | 6601 | DEFVAR_INT ("split-height-threshold", &split_height_threshold, |
| 6597 | doc: /* *display-buffer would prefer to split the largest window if this large. | 6602 | doc: /* *A window must be at least this tall to be eligible for splitting by `display-buffer'. |
| 6598 | If there is only one window, it is split regardless of this value. */); | 6603 | If there is only one window, it is split regardless of this value. */); |
| 6599 | split_height_threshold = 500; | 6604 | split_height_threshold = 500; |
| 6600 | 6605 | ||