changeset 25118:08ae9ffe6763

(init_display) [MSDOS]: Don't initialize frame faces, it will be done later.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 30 Jul 1999 08:38:10 +0000
parents f6f34f0bc1af
children 04c0fc908742
files src/dispnew.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Fri Jul 30 08:33:50 1999 +0000
+++ b/src/dispnew.c	Fri Jul 30 08:38:10 1999 +0000
@@ -5693,6 +5693,13 @@
   /* 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 (Vwindow_system))
     call0 (intern ("tty-set-up-initial-frame-faces"));
 }