aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2011-12-13 14:37:48 +0100
committerMartin Rudalics2011-12-13 14:37:48 +0100
commit454592a615ac4d86a6ce594945487642be5013d7 (patch)
tree44ff04a72dfdb9acf478954bafcb53eea3c9db2b /src
parent87393f2618610b11f406db76f41677475bec41cc (diff)
downloademacs-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/ChangeLog6
-rw-r--r--src/window.c8
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 @@
12011-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
12011-12-11 Kenichi Handa <handa@m17n.org> 72011-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.
6510If this variable is nil, splitting a window gets the entire screen space 6510If this variable is nil, splitting a window gets the entire screen space
6511for displaying the new window from the window to split. Deleting and 6511for displaying the new window from the window to split. Deleting and
6512resizing a window preferably resizes one adjacent window only. 6512resizing a window preferably resizes one adjacent window only.
6513 6513
6514If this variable is non-nil, splitting a window tries to get the space 6514If this variable is t, splitting a window tries to get the space
6515proportionally from all windows in the same combination. This also 6515proportionally from all windows in the same combination. This also
6516allows to split a window that is otherwise too small or of fixed size. 6516allows to split a window that is otherwise too small or of fixed size.
6517Resizing and deleting a window proportionally resize all windows in the 6517Resizing and deleting a window proportionally resize all windows in the
6518same combination. 6518same combination.
6519 6519
6520Other values are reserved for future use.
6521
6520This variable takes no effect if `window-combination-limit' is non-nil. */); 6522This 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.
6525If this variable is nil, splitting a window will create a new parent 6527If this variable is nil, splitting a window will create a new parent
6526window only if the window has no parent window or the window shall 6528window only if the window has no parent window or the window shall
6527become a combination orthogonal to the one it is part of. 6529become a combination orthogonal to the one it is part of.