Commit 8962d4b3 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix a thinko in last commit.

parent bf7bea5d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment