changeset 25755:93cef6bdf4a6

(echo_area_display): Turn off code that returned without doing anything when using a terminal frame.
author Richard M. Stallman <rms@gnu.org>
date Sat, 18 Sep 1999 05:23:24 +0000
parents d4de526fb0e0
children b06b45ba82bb
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Sep 18 03:02:03 1999 +0000
+++ b/src/xdisp.c	Sat Sep 18 05:23:24 1999 +0000
@@ -5834,6 +5834,10 @@
   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.  */
   /* 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.  */
@@ -5841,6 +5845,7 @@
   if (!inhibit_window_system && !FRAME_WINDOW_P (sf))
     return 0;
 #endif /* HAVE_WINDOW_SYSTEM */
+#endif
 
   /* Redraw garbaged frames.  */
   if (frame_garbaged)