From 4b311aafccd98ca5d1ae4fadc0f0da12ce07c6db Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 13 Jun 1994 23:56:48 +0000 Subject: [PATCH] (init_sys_modes): Don't call set_terminal_modes if using a window system. --- src/sysdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sysdep.c b/src/sysdep.c index a9f6b3150f0..ddee0b4560a 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1344,7 +1344,9 @@ init_sys_modes () #else setbuf (stdout, _sobuf); #endif - set_terminal_modes (); + if (! read_socket_hook && EQ (Vwindow_system, Qnil)) + set_terminal_modes (); + if (term_initted && no_redraw_on_reenter) { if (display_completed)