Function: get-other-frame

get-other-frame is a byte-compiled function defined in frame.el.gz.

Signature

(get-other-frame)

Documentation

Return some frame other than the current frame.

Create one if necessary. Note that the minibuffer frame, if separate, is not considered (see next-frame).

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun get-other-frame ()
  "Return some frame other than the current frame.
Create one if necessary.  Note that the minibuffer frame, if separate,
is not considered (see `next-frame')."
  (if (equal (next-frame) (selected-frame)) (make-frame) (next-frame)))