Variable: window-combination-resize

window-combination-resize is a customizable variable defined in window.c.

Value

nil

Documentation

If t, resize window combinations proportionally.

If this variable is nil, splitting a window gets the entire screen space for displaying the new window from the window to split. Deleting and resizing a window preferably resizes one adjacent window only.

If this variable is t, splitting a window tries to get the space proportionally from all windows in the same combination. This means that one can also split a window that is otherwise too small or of fixed size. Resizing and deleting a window then proportionally resizes all windows in the same combination.

Other values are reserved for future use.

A specific split operation may ignore the value of this variable if it is affected by a non-nil value of window-combination-limit(var)/window-combination-limit(fun). If you want to use a sequence of split-window calls to produce a specific, predefined layout of windows on a frame, bind this variable temporarily to nil.

This variable was added, or its default value changed, in Emacs 24.1.

View in manual

Probably introduced at or before Emacs version 24.1.

Source Code

// Defined in /usr/src/emacs/src/window.c
  DEFVAR_LISP ("window-combination-resize", Vwindow_combination_resize,
	       doc: /* If t, resize window combinations proportionally.
If this variable is nil, splitting a window gets the entire screen space
for displaying the new window from the window to split.  Deleting and
resizing a window preferably resizes one adjacent window only.

If this variable is t, splitting a window tries to get the space
proportionally from all windows in the same combination.  This means
that one can also split a window that is otherwise too small or of fixed
size.  Resizing and deleting a window then proportionally resizes all
windows in the same combination.

Other values are reserved for future use.

A specific split operation may ignore the value of this variable if it
is affected by a non-nil value of `window-combination-limit'.  If you
want to use a sequence of `split-window' calls to produce a specific,
predefined layout of windows on a frame, bind this variable temporarily
to nil.  */);