summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-13 23:56:48 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-13 23:56:48 +0000
commit0975b6c3f809c358f88cb1b5877d70deca8fcb65 (patch)
tree0859ce5a1502edf440cdcc0f70bdfb6ce8b9a5ab /src/sysdep.c
parentc4ea4c36bdc9173025eebb09f0fa6211f8f754da (diff)
downloademacs-0975b6c3f809c358f88cb1b5877d70deca8fcb65.tar.gz
(init_sys_modes): Don't call set_terminal_modes
if using a window system.
Diffstat (limited to 'src/sysdep.c')
-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 ()
#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)