summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/frame.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index a5e0c816053..e52bfba99b5 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -420,7 +420,7 @@ The optional second argument PARAMETERS specifies additional frame parameters."
(defun make-frame-command ()
"Make a new frame, and select it if the terminal displays only one frame."
(interactive)
- (if window-system
+ (if (and window-system (not (eq window-system 'pc)))
(make-frame)
(select-frame (make-frame))))