# HG changeset patch # User Gerd Moellmann # Date 940351477 0 # Node ID 90a7cc56474fba6ce25d820f928d25a0ba28c7f2 # Parent 67f9292f4d3eaf1e69dbb0d3973d8655fa4553d4 (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if selected_frame is equal to Vterminal_frame. diff -r 67f9292f4d3e -r 90a7cc56474f src/xdisp.c --- a/src/xdisp.c Tue Oct 19 13:48:30 1999 +0000 +++ b/src/xdisp.c Tue Oct 19 16:44:37 1999 +0000 @@ -5857,18 +5857,13 @@ if (!FRAME_VISIBLE_P (f) || !f->glyphs_initialized_p) return 0; -#if 0 /* inhibit_window_system is not a valid way of testing - whether a window system is in use. - This code prevents all echo area display - when you run plain `emacs' on a tty. */ +#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. */ -#ifdef HAVE_WINDOW_SYSTEM - if (!inhibit_window_system && !FRAME_WINDOW_P (sf)) + if (EQ (selected_frame, Vterminal_frame)) return 0; -#endif /* HAVE_WINDOW_SYSTEM */ -#endif +#endif /* HAVE_X_WINDOWS */ /* Redraw garbaged frames. */ if (frame_garbaged)