aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 5ea3f60f96d..03b5eebf790 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -5834,6 +5834,10 @@ echo_area_display (update_frame_p)
5834 if (!FRAME_VISIBLE_P (f) || !f->glyphs_initialized_p) 5834 if (!FRAME_VISIBLE_P (f) || !f->glyphs_initialized_p)
5835 return 0; 5835 return 0;
5836 5836
5837#if 0 /* inhibit_window_system is not a valid way of testing
5838 whether a window system is in use.
5839 This code prevents all echo area display
5840 when you run plain `emacs' on a tty. */
5837 /* When Emacs starts, selected_frame may be a visible terminal 5841 /* When Emacs starts, selected_frame may be a visible terminal
5838 frame, even if we run under a window system. If we let this 5842 frame, even if we run under a window system. If we let this
5839 through, a message would be displayed on the terminal. */ 5843 through, a message would be displayed on the terminal. */
@@ -5841,6 +5845,7 @@ echo_area_display (update_frame_p)
5841 if (!inhibit_window_system && !FRAME_WINDOW_P (sf)) 5845 if (!inhibit_window_system && !FRAME_WINDOW_P (sf))
5842 return 0; 5846 return 0;
5843#endif /* HAVE_WINDOW_SYSTEM */ 5847#endif /* HAVE_WINDOW_SYSTEM */
5848#endif
5844 5849
5845 /* Redraw garbaged frames. */ 5850 /* Redraw garbaged frames. */
5846 if (frame_garbaged) 5851 if (frame_garbaged)