Fix bug #14739 with creation of GUI frames from TTY session on Windows.
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Dec 2013 11:47:26 +0000 (13:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Dec 2013 11:47:26 +0000 (13:47 +0200)
commitbf7bea5de09945949ab969f663aaf00fed1f67b4
treeede99c7808adecb46544974c00b9fef37df04012
parentefe702196ac87ce78d753672013429018e723a9e
Fix bug #14739 with creation of GUI frames from TTY session on Windows.

 src/w32fns.c (Fx_create_frame): Error out if called from a TTY
 session.

 lisp/frame.el (window-system-for-display): Don't allow to create a
 GUI frame from a -nw session on MS-Windows.
lisp/ChangeLog
lisp/frame.el
src/ChangeLog
src/w32fns.c