aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1999-09-18 05:23:24 +0000
committerRichard M. Stallman1999-09-18 05:23:24 +0000
commitd9e28aa00e7e30dcf69715609f7171bccd370686 (patch)
tree159b2d4a22fb3403d3265376ce676911f82cc50a /src
parent8dce2ddc9d5d2d7e52124365a8c0a488c3884f62 (diff)
downloademacs-d9e28aa00e7e30dcf69715609f7171bccd370686.tar.gz
emacs-d9e28aa00e7e30dcf69715609f7171bccd370686.zip
(echo_area_display): Turn off code that returned
without doing anything when using a terminal frame.
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)