From: Jason Rumney Date: Tue, 25 Sep 2007 08:54:10 +0000 (+0000) Subject: (make_terminal_frame): Remove special case for WINDOWSNT. X-Git-Tag: emacs-pretest-23.0.90~10687 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec8705b63967156f159918b2b8908211764e3383;p=emacs.git (make_terminal_frame): Remove special case for WINDOWSNT. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6500d152f69..d01a5029438 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2007-09-25 Jason Rumney + + * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. + + * w32console.c (create_w32cons_output): Remove. + + * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. + + * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. + (reset_sys_modes): Use reset_terminal_modes_hook. + 2007-09-24 Stefan Monnier * eval.c (do_autoload): Don't output any message. diff --git a/src/frame.c b/src/frame.c index 6596111d0ca..aa7f4ad8d76 100644 --- a/src/frame.c +++ b/src/frame.c @@ -601,12 +601,6 @@ make_terminal_frame (struct terminal *terminal) else f->output_method = output_termcap; #else -#ifdef WINDOWSNT - f->output_method = output_termcap; - f->terminal = terminal; - f->terminal->reference_count++; - create_w32cons_output (f); -#else #ifdef MAC_OS8 make_mac_terminal_frame (f); #else @@ -635,7 +629,6 @@ make_terminal_frame (struct terminal *terminal) FRAME_BACKGROUND_PIXEL(f) = FACE_TTY_DEFAULT_BG_COLOR; #endif #endif /* MAC_OS8 */ -#endif /* WINDOWSNT */ #endif /* MSDOS */ if (!noninteractive)