diff options
author | Gerd Moellmann <[email protected]> | 1999-10-19 16:45:45 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 1999-10-19 16:45:45 +0000 |
commit | b5f5bc317a5ae156d91da5851f3e2a323ffb6f68 (patch) | |
tree | bf58d6107e4b4cda090934799ba425b00b741190 /src/xdisp.c | |
parent | 57bc81bf0e21ed8277b3c8fd61737ff92fb2f0d9 (diff) |
(echo_area_display) [HAVE_X_WINDOWS]: Do nothing
if selected_frame is equal to Vterminal_frame.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index ebfe075d17..f01f4b8f8b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5857,18 +5857,13 @@ echo_area_display (update_frame_p) 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) |