Function: make-frame-command

make-frame-command is an interactive and byte-compiled function defined in frame.el.gz.

Signature

(make-frame-command)

Documentation

Make a new frame, on the same terminal as the selected frame.

If the terminal is a text-only terminal, this also selects the new frame.

When called from Lisp, returns the new frame.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun make-frame-command ()
  "Make a new frame, on the same terminal as the selected frame.
If the terminal is a text-only terminal, this also selects the
new frame.

When called from Lisp, returns the new frame."
  (interactive)
  (if (display-graphic-p)
      (make-frame)
    (select-frame (make-frame))))