From: Gerd Moellmann Date: Tue, 26 Oct 1999 22:21:58 +0000 (+0000) Subject: * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if X-Git-Tag: emacs-pretest-21.0.90~6290 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=622e3754f446c0c5386be248e739dcd52c6699f8;p=emacs.git * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if Vterminal_frame is selected and Vwindow_system is non-nil. --- diff --git a/src/xdisp.c b/src/xdisp.c index b9624851051..0b0d0383957 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5857,15 +5857,14 @@ echo_area_display (update_frame_p) 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)