From 622e3754f446c0c5386be248e739dcd52c6699f8 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 26 Oct 1999 22:21:58 +0000 Subject: [PATCH] * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if Vterminal_frame is selected and Vwindow_system is non-nil. --- src/xdisp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) -- 2.39.5