aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1995-11-07 07:26:18 +0000
committerGeoff Voelker1995-11-07 07:26:18 +0000
commit23cafe430d818571913474dff999b7cbe5327c3c (patch)
tree6ccfce57419e38282e932a3cb89203aeb0707435 /src
parenta5570f57ca4c99243378922745b26e0d9133bd4a (diff)
downloademacs-23cafe430d818571913474dff999b7cbe5327c3c.tar.gz
emacs-23cafe430d818571913474dff999b7cbe5327c3c.zip
[HAVE_NTGUI] (init_sys_modes, reset_sys_modes):
Don't initialize terminal mode when using window system. [HAVE_NTGUI] (BUFFER_SIZE_FACTOR): Increase for use with window system. Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index dc47a4a2a0f..96fc515b76c 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1226,7 +1226,7 @@ init_sys_modes ()
1226 narrow_foreground_group (); 1226 narrow_foreground_group ();
1227#endif 1227#endif
1228 1228
1229#ifdef HAVE_X_WINDOWS 1229#ifdef HAVE_WINDOW_SYSTEM
1230 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore 1230 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore
1231 needs the initialization code below. */ 1231 needs the initialization code below. */
1232 if (!read_socket_hook && EQ (Vwindow_system, Qnil)) 1232 if (!read_socket_hook && EQ (Vwindow_system, Qnil))
@@ -1469,7 +1469,7 @@ init_sys_modes ()
1469#else 1469#else
1470 setbuf (stdout, _sobuf); 1470 setbuf (stdout, _sobuf);
1471#endif 1471#endif
1472#ifdef HAVE_X_WINDOWS 1472#ifdef HAVE_WINDOW_SYSTEM
1473 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore 1473 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore
1474 needs the initialization code below. */ 1474 needs the initialization code below. */
1475 if (! read_socket_hook && EQ (Vwindow_system, Qnil)) 1475 if (! read_socket_hook && EQ (Vwindow_system, Qnil))
@@ -1612,7 +1612,7 @@ reset_sys_modes ()
1612 } 1612 }
1613 if (!term_initted) 1613 if (!term_initted)
1614 return; 1614 return;
1615#ifdef HAVE_X_WINDOWS 1615#ifdef HAVE_WINDOW_SYSTEM
1616 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore 1616 /* Emacs' window system on MSDOG uses the `internal terminal' and therefore
1617 needs the clean-up code below. */ 1617 needs the clean-up code below. */
1618 if (read_socket_hook || !EQ (Vwindow_system, Qnil)) 1618 if (read_socket_hook || !EQ (Vwindow_system, Qnil))
@@ -2403,8 +2403,8 @@ sys_select (nfds, rfds, wfds, efds, timeout)
2403/* Read keyboard input into the standard buffer, 2403/* Read keyboard input into the standard buffer,
2404 waiting for at least one character. */ 2404 waiting for at least one character. */
2405 2405
2406/* Make all keyboard buffers much bigger when using X windows. */ 2406/* Make all keyboard buffers much bigger when using a window system. */
2407#ifdef HAVE_X_WINDOWS 2407#ifdef HAVE_WINDOW_SYSTEM
2408#define BUFFER_SIZE_FACTOR 16 2408#define BUFFER_SIZE_FACTOR 16
2409#else 2409#else
2410#define BUFFER_SIZE_FACTOR 1 2410#define BUFFER_SIZE_FACTOR 1