changeset 26203:47d54b67bce2

* xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if Vterminal_frame is selected and Vwindow_system is non-nil.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 26 Oct 1999 22:21:58 +0000
parents adecdf8bb61f
children 00bcb3857405
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Oct 26 21:47:37 1999 +0000
+++ b/src/xdisp.c	Tue Oct 26 22:21:58 1999 +0000
@@ -5857,15 +5857,14 @@
   if (!FRAME_VISIBLE_P (f) || !f->glyphs_initialized_p)
     return 0;
 
-#if 0
 #ifdef HAVE_X_WINDOWS
   /* When Emacs starts, selected_frame may be a visible terminal
      frame, even if we run under a window system.  If we let this
      through, a message would be displayed on the terminal.  */
-  if (EQ (selected_frame, Vterminal_frame))
+  if (EQ (selected_frame, Vterminal_frame) 
+      && !NILP (Vwindow_system))
     return 0;
 #endif /* HAVE_X_WINDOWS */
-#endif /* 0 */
 
   /* Redraw garbaged frames.  */
   if (frame_garbaged)