From: Jason Rumney Date: Sat, 20 Dec 2008 16:00:39 +0000 (+0000) Subject: (Fmake_terminal_frame): Raise an error when called from X-Git-Tag: emacs-pretest-23.0.90~934 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99b72cc426dc014815eba2ea30324ead423c301b;p=emacs.git (Fmake_terminal_frame): Raise an error when called from a graphical frame on Windows. --- diff --git a/src/ChangeLog b/src/ChangeLog index 83d43479df8..bd37f3528fd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-12-20 Jason Rumney + + * frame.c (Fmake_terminal_frame): Raise an error when called from + a graphical frame on Windows. + 2008-12-20 Jan Djärv * frame.c (Fdelete_frame): Set f->menu_bar_vector to Qnil. diff --git a/src/frame.c b/src/frame.c index 8af3e4bf35f..db8874f5280 100644 --- a/src/frame.c +++ b/src/frame.c @@ -684,7 +684,7 @@ affects all frames on the same terminal device. */) abort (); #else /* not MSDOS */ -#if 0 /* This should work now! */ +#ifdef WINDOWSNT /* This should work now! */ if (sf->output_method != output_termcap) error ("Not using an ASCII terminal now; cannot make a new ASCII frame"); #endif