Fix a thinko in last commit.

This commit is contained in:
Eli Zaretskii 2013-12-28 19:12:57 +02:00
parent bf7bea5de0
commit 8962d4b300

View file

@ -4346,7 +4346,8 @@ This function is an internal primitive--use `make-frame' instead. */)
Lisp_Object parent;
struct kboard *kb;
if (!FRAME_W32_P (SELECTED_FRAME ()))
if (!FRAME_W32_P (SELECTED_FRAME ())
&& !FRAME_INITIAL_P (SELECTED_FRAME ()))
error ("Cannot create a GUI frame in a -nw session");
/* Make copy of frame parameters because the original is in pure