+1999-10-19 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing
+ if selected_frame is equal to Vterminal_frame.
+
1999-10-19 Paul Eggert <eggert@twinsun.com>
Add support for large files, 64-bit Solaris, system locale codings.
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)