changeset 97646:fab72f02d115

(init_display): Remove MS-DOS specific conditions for calling tty-set-up-initial-frame-faces.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 23 Aug 2008 16:46:21 +0000
parents 229acec13840
children 09de6794b433
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Sat Aug 23 16:45:51 2008 +0000
+++ b/src/dispnew.c	Sat Aug 23 16:46:21 2008 +0000
@@ -3390,7 +3390,7 @@
   update_begin (f);
 #ifdef MSDOS
   if (FRAME_MSDOS_P (f))
-    set_terminal_modes (FRAME_TERMINAL (f));
+    FRAME_TERMINAL (f)->set_terminal_modes_hook (FRAME_TERMINAL (f));
 #endif
   clear_frame (f);
   clear_current_matrices (f);
@@ -6966,13 +6966,6 @@
   /* Set up faces of the initial terminal frame of a dumped Emacs.  */
   if (initialized
       && !noninteractive
-#ifdef MSDOS
-      /* The MSDOS terminal turns on its ``window system'' relatively
-	 late into the startup, so we cannot do the frame faces'
-	 initialization just yet.  It will be done later by pc-win.el
-	 and internal_terminal_init.  */
-      && (strcmp (terminal_type, "internal") != 0 || inhibit_window_system)
-#endif
       && NILP (Vinitial_window_system))
     {
       /* For the initial frame, we don't have any way of knowing what