mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(make-frame-command): Doc fix. Use display-graphic-p.
This commit is contained in:
parent
00421bf575
commit
e9e6aee821
1 changed files with 4 additions and 2 deletions
|
|
@ -674,9 +674,11 @@ If DISPLAY is nil, that stands for the selected frame's display."
|
|||
(x-close-connection display))))
|
||||
|
||||
(defun make-frame-command ()
|
||||
"Make a new frame, and select it if the terminal displays only one frame."
|
||||
"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."
|
||||
(interactive)
|
||||
(if (and window-system (not (eq window-system 'pc)))
|
||||
(if (display-graphic-p)
|
||||
(make-frame)
|
||||
(select-frame (make-frame))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue