Function: window-normalize-frame

window-normalize-frame is a byte-compiled function defined in window.el.gz.

Signature

(window-normalize-frame FRAME)

Documentation

Return frame specified by FRAME.

FRAME must be a live frame or nil which means to return the selected frame.

This function is commonly used to process the (usually optional)
"FRAME" argument of window and frame related functions where
nil stands for the selected frame.

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-normalize-frame (frame)
  "Return frame specified by FRAME.
FRAME must be a live frame or nil which means to return the
selected frame.

This function is commonly used to process the (usually optional)
\"FRAME\" argument of window and frame related functions where
nil stands for the selected frame."
  (if frame
      (if (frame-live-p frame)
	  frame
	(error "%s is not a live frame" frame))
    (selected-frame)))