aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c4
1 files changed, 3 insertions, 1 deletions
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 ()
1344#else 1344#else
1345 setbuf (stdout, _sobuf); 1345 setbuf (stdout, _sobuf);
1346#endif 1346#endif
1347 set_terminal_modes (); 1347 if (! read_socket_hook && EQ (Vwindow_system, Qnil))
1348 set_terminal_modes ();
1349
1348 if (term_initted && no_redraw_on_reenter) 1350 if (term_initted && no_redraw_on_reenter)
1349 { 1351 {
1350 if (display_completed) 1352 if (display_completed)