aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJason Rumney2011-07-02 23:07:57 +0800
committerJason Rumney2011-07-02 23:07:57 +0800
commitbc92abd2821900e25d972503f1a7d95d259d3bfa (patch)
tree5f078c99c985cd0af9611fe6b45af6ea287189ed /lib-src
parent7b3747f94c02ea17912b8872e0d468cbc760a9fe (diff)
downloademacs-bc92abd2821900e25d972503f1a7d95d259d3bfa.tar.gz
emacs-bc92abd2821900e25d972503f1a7d95d259d3bfa.zip
* lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
Windows. Fixes: debbugs:5486
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/emacsclient.c8
2 files changed, 13 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index b7a95fe8043..098ee06c762 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12011-07-02 Jason Rumney <jasonr@gnu.org>
2
3 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
4 Windows (Bug#5486).
5
12011-06-25 Glenn Morris <rgm@gnu.org> 62011-06-25 Glenn Morris <rgm@gnu.org>
2 7
3 * emacsclient.c (decode_options) <opt>: Add `F:'. 8 * emacsclient.c (decode_options) <opt>: Add `F:'.
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)
652an empty string"); 652an 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