diff options
| author | Joakim Verona | 2011-07-15 04:39:29 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-07-15 04:39:29 +0200 |
| commit | 4f616a2e7ed1db28da98df90266e9751a8ae9ee1 (patch) | |
| tree | 74a9dcbe13e945e712ae04a4a94c2202ca720591 /lib-src/emacsclient.c | |
| parent | ff2be00005c3aeda6e11d7ed264ce86f02b60958 (diff) | |
| parent | ec2bc542a4d0127425625e8cb458684bd825675a (diff) | |
| download | emacs-4f616a2e7ed1db28da98df90266e9751a8ae9ee1.tar.gz emacs-4f616a2e7ed1db28da98df90266e9751a8ae9ee1.zip | |
merge from upstream
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 | ||