From: Eli Zaretskii Date: Wed, 12 Jun 2024 11:10:32 +0000 (+0300) Subject: Support --no-window-system option in emacsclient X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d117db0121caa6fc7022f13830c79e51b60a2c34;p=emacs.git Support --no-window-system option in emacsclient * lib-src/emacsclient.c (print_help_and_exit, longopts): Add '--no-window-system' alias for -t. (Bug#71509) (cherry picked from commit ebb0a3036d2256c214b3116b029ecbcc63040be0) --- diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 79db1ef2f47..8e64f1e92d3 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -173,6 +173,7 @@ static struct option const longopts[] = { "version", no_argument, NULL, 'V' }, { "tty", no_argument, NULL, 't' }, { "nw", no_argument, NULL, 't' }, + { "no-window-system", no_argument, NULL, 't' }, { "create-frame", no_argument, NULL, 'c' }, { "reuse-frame", no_argument, NULL, 'r' }, { "alternate-editor", required_argument, NULL, 'a' }, @@ -690,7 +691,8 @@ Every FILE can be either just a FILENAME or [+LINE[:COLUMN]] FILENAME.\n\ The following OPTIONS are accepted:\n\ -V, --version Just print version info and return\n\ -H, --help Print this usage information message\n\ --nw, -t, --tty Open a new Emacs frame on the current terminal\n\ +-nw, -t, --tty, --no-window-system\n\ + 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\ -r, --reuse-frame Create a new frame if none exists, otherwise\n\