diff options
Diffstat (limited to 'lib-src/emacsclient.c')
| -rw-r--r-- | lib-src/emacsclient.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index c78a42bffe8..2af139aee6d 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -652,6 +652,14 @@ decode_options (int argc, char **argv) | |||
| 652 | an empty string"); | 652 | an empty string"); |
| 653 | exit (EXIT_FAILURE); | 653 | exit (EXIT_FAILURE); |
| 654 | } | 654 | } |
| 655 | |||
| 656 | /* TTY frames not supported on Windows. Continue using GUI rather than | ||
| 657 | forcing the user to change their command-line. This is required since | ||
| 658 | tty is set above if certain options are given and $DISPLAY is not set, | ||
| 659 | which is not obvious to users. */ | ||
| 660 | if (tty) | ||
| 661 | tty = 0; | ||
| 662 | |||
| 655 | #endif /* WINDOWSNT */ | 663 | #endif /* WINDOWSNT */ |
| 656 | } | 664 | } |
| 657 | 665 | ||