diff options
| author | Martin Rudalics | 2011-12-13 14:37:48 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2011-12-13 14:37:48 +0100 |
| commit | 454592a615ac4d86a6ce594945487642be5013d7 (patch) | |
| tree | 44ff04a72dfdb9acf478954bafcb53eea3c9db2b /src | |
| parent | 87393f2618610b11f406db76f41677475bec41cc (diff) | |
| download | emacs-454592a615ac4d86a6ce594945487642be5013d7.tar.gz emacs-454592a615ac4d86a6ce594945487642be5013d7.zip | |
Minor fixes in window handling code and docs.
* window.c (Vwindow_combination_resize)
(Vwindow_combination_limit): Use t instead of non-nil in
doc-strings.
* window.el (delete-other-windows): Use correct frame in call to
window-with-parameter.
* windows.texi (Splitting Windows): Use t instead of non-nil
when describing window-combination-resize.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/window.c | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 221ba913a80..5cdbd528a2e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-12-13 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * window.c (Vwindow_combination_resize) | ||
| 4 | (Vwindow_combination_limit): Use t instead of non-nil in | ||
| 5 | doc-strings. | ||
| 6 | |||
| 1 | 2011-12-11 Kenichi Handa <handa@m17n.org> | 7 | 2011-12-11 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * coding.c (Funencodable_char_position): Pay attention to the | 9 | * coding.c (Funencodable_char_position): Pay attention to the |
diff --git a/src/window.c b/src/window.c index b908749ea4a..f007aaf52cd 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -6506,22 +6506,24 @@ frame to be redrawn only if it is a tty frame. */); | |||
| 6506 | Vrecenter_redisplay = Qtty; | 6506 | Vrecenter_redisplay = Qtty; |
| 6507 | 6507 | ||
| 6508 | DEFVAR_LISP ("window-combination-resize", Vwindow_combination_resize, | 6508 | DEFVAR_LISP ("window-combination-resize", Vwindow_combination_resize, |
| 6509 | doc: /* Non-nil means resize window combinations proportionally. | 6509 | doc: /* If t, resize window combinations proportionally. |
| 6510 | If this variable is nil, splitting a window gets the entire screen space | 6510 | If this variable is nil, splitting a window gets the entire screen space |
| 6511 | for displaying the new window from the window to split. Deleting and | 6511 | for displaying the new window from the window to split. Deleting and |
| 6512 | resizing a window preferably resizes one adjacent window only. | 6512 | resizing a window preferably resizes one adjacent window only. |
| 6513 | 6513 | ||
| 6514 | If this variable is non-nil, splitting a window tries to get the space | 6514 | If this variable is t, splitting a window tries to get the space |
| 6515 | proportionally from all windows in the same combination. This also | 6515 | proportionally from all windows in the same combination. This also |
| 6516 | allows to split a window that is otherwise too small or of fixed size. | 6516 | allows to split a window that is otherwise too small or of fixed size. |
| 6517 | Resizing and deleting a window proportionally resize all windows in the | 6517 | Resizing and deleting a window proportionally resize all windows in the |
| 6518 | same combination. | 6518 | same combination. |
| 6519 | 6519 | ||
| 6520 | Other values are reserved for future use. | ||
| 6521 | |||
| 6520 | This variable takes no effect if `window-combination-limit' is non-nil. */); | 6522 | This variable takes no effect if `window-combination-limit' is non-nil. */); |
| 6521 | Vwindow_combination_resize = Qnil; | 6523 | Vwindow_combination_resize = Qnil; |
| 6522 | 6524 | ||
| 6523 | DEFVAR_LISP ("window-combination-limit", Vwindow_combination_limit, | 6525 | DEFVAR_LISP ("window-combination-limit", Vwindow_combination_limit, |
| 6524 | doc: /* Non-nil means splitting a window makes a new parent window. | 6526 | doc: /* If t, splitting a window makes a new parent window. |
| 6525 | If this variable is nil, splitting a window will create a new parent | 6527 | If this variable is nil, splitting a window will create a new parent |
| 6526 | window only if the window has no parent window or the window shall | 6528 | window only if the window has no parent window or the window shall |
| 6527 | become a combination orthogonal to the one it is part of. | 6529 | become a combination orthogonal to the one it is part of. |