changeset 7878:546334ab3974

(init_sys_modes): Don't call set_terminal_modes if using a window system.
author Richard M. Stallman <rms@gnu.org>
date Mon, 13 Jun 1994 23:56:48 +0000
parents 0eb805c768af
children e0f3cfb55df7
files src/sysdep.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Mon Jun 13 23:40:33 1994 +0000
+++ b/src/sysdep.c	Mon Jun 13 23:56:48 1994 +0000
@@ -1344,7 +1344,9 @@
 #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)