Function: window-frame

window-frame is a function defined in window.c.

Signature

(window-frame &optional WINDOW)

Documentation

Return the frame that window WINDOW is on.

WINDOW must be a valid window and defaults to the selected one.

View in manual

Source Code

// Defined in /usr/src/emacs/src/window.c
{
  return decode_valid_window (window)->frame;
}