mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
Windows. Fixes: debbugs:5486
This commit is contained in:
parent
7b3747f94c
commit
bc92abd282
2 changed files with 13 additions and 0 deletions
|
|
@ -652,6 +652,14 @@ decode_options (int argc, char **argv)
|
|||
an empty string");
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
/* TTY frames not supported on Windows. Continue using GUI rather than
|
||||
forcing the user to change their command-line. This is required since
|
||||
tty is set above if certain options are given and $DISPLAY is not set,
|
||||
which is not obvious to users. */
|
||||
if (tty)
|
||||
tty = 0;
|
||||
|
||||
#endif /* WINDOWSNT */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue