Fix a thinko in last commit.
This commit is contained in:
parent
bf7bea5de0
commit
8962d4b300
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue