comparison src/xdisp.c @ 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 e26ea124e009
children dabc57e3628f
comparison
equal deleted inserted replaced
25754:d4de526fb0e0 25755:93cef6bdf4a6
5832 5832
5833 /* Don't display if frame is invisible or not yet initialized. */ 5833 /* Don't display if frame is invisible or not yet initialized. */
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. */
5840 #ifdef HAVE_WINDOW_SYSTEM 5844 #ifdef HAVE_WINDOW_SYSTEM
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)
5847 clear_garbaged_frames (); 5852 clear_garbaged_frames ();
5848 5853