]> code.delx.au - gnu-emacs/blobdiff - lib-src/emacsclient.c
* src/xdisp.c (next_element_from_string, next_element_from_buffer): Use EQ
[gnu-emacs] / lib-src / emacsclient.c
index 0bfa748707cac481ad336c078374fd3e2913b800..2af139aee6d309b036a1e0af60a75bf3c7252b08 100644 (file)
@@ -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 */
 }
 
@@ -674,7 +682,7 @@ The following OPTIONS are accepted:\n\
 -nw, -t, --tty                 Open a new Emacs frame on the current terminal\n\
 -c, --create-frame     Create a new frame instead of trying to\n\
                        use the current Emacs frame\n\
--F, --frame-parameters=ALIST\n\
+-F ALIST, --frame-parameters=ALIST\n\
                        Set the parameters of a new frame\n\
 -e, --eval             Evaluate the FILE arguments as ELisp expressions\n\
 -n, --no-wait          Don't wait for the server to return\n\