aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2007-05-16 23:16:53 +0000
committerDan Nicolaescu <[email protected]>2007-05-16 23:16:53 +0000
commit1d00cfd429f75ba241bf833b837dde3de2431620 (patch)
tree41b316ce7cb8bb0bec698fdaa10ef7e3fb694c91 /lib-src/emacsclient.c
parent622eee5b948b8fb828455af1430b68a8a089be10 (diff)
* emacsclient.c (decode_options): Don't use a tty on windows.
* makefile.w32-in (VERSION): Update.
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r--lib-src/emacsclient.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 44d5783dd8..c00ae9d42b 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -458,9 +458,11 @@ decode_options (argc, argv)
if (!tty && display)
window_system = 1;
+#ifndef WINDOWSNT
else
tty = 1;
-
+#endif
+
/* --no-wait implies --current-frame on ttys when there are file
arguments or expressions given. */
if (nowait && tty && argc - optind > 0)