aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-30 10:19:16 +0000
committerRichard M. Stallman1994-05-30 10:19:16 +0000
commitfe45da4e02c835ba6439c53a259f2ee8f2f0813d (patch)
tree071220d0537507d353c1874b94ab150f8252a94a /src/process.c
parenta2702d990e2eb8c5368e7b977bc5bb48caabed9c (diff)
downloademacs-fe45da4e02c835ba6439c53a259f2ee8f2f0813d.tar.gz
emacs-fe45da4e02c835ba6439c53a259f2ee8f2f0813d.zip
(create_process): Get a pty for any non-nil Vprocess_connection_type value.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 2e5631ade75..6a65a1668aa 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1159,7 +1159,7 @@ create_process (process, new_argv, current_dir)
1159 inchannel = outchannel = -1; 1159 inchannel = outchannel = -1;
1160 1160
1161#ifdef HAVE_PTYS 1161#ifdef HAVE_PTYS
1162 if (EQ (Vprocess_connection_type, Qt)) 1162 if (!NILP (Vprocess_connection_type))
1163 outchannel = inchannel = allocate_pty (); 1163 outchannel = inchannel = allocate_pty ();
1164 1164
1165 if (inchannel >= 0) 1165 if (inchannel >= 0)