Function: set-window-combination-limit

set-window-combination-limit is a function defined in window.c.

Signature

(set-window-combination-limit WINDOW LIMIT)

Documentation

Set combination limit of window WINDOW to LIMIT; return LIMIT.

WINDOW must be a valid window used in horizontal or vertical combination. If LIMIT is nil, child windows of WINDOW can be recombined with WINDOW's siblings. LIMIT t means that child windows of WINDOW are never
(re-)combined with WINDOW's siblings. Other values are reserved for
future use.

Source Code

// Defined in /usr/src/emacs/src/window.c
{
  struct window *w;

  CHECK_VALID_WINDOW (window);
  w = XWINDOW (window);
  if (WINDOW_LEAF_P (w))
    error ("Combination limit is meaningful for internal windows only");
  wset_combination_limit (w, limit);
  return limit;
}