diff options
author | Gregory Heytings <gregory@heytings.org> | 2021-11-05 00:14:30 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-05 00:14:30 +0100 |
commit | 2bcc2160c9f7f16c5e9cd815b8074de27f30896d (patch) | |
tree | 82fe7f4ff83a6d65e24384cd1e2eb70f15dbcac3 /doc/emacs/misc.texi | |
parent | a78ac0c5df74be6925f48896fd024f1f6f363c44 (diff) | |
download | emacs-2bcc2160c9f7f16c5e9cd815b8074de27f30896d.tar.gz |
New emacsclient option to either create or reuse an existing frame.
* doc/emacs/misc.texi (emacsclient Options): Document the new option.
* doc/man/emacsclient.1: Mention the new option (bug#51374).
* etc/NEWS: Mention the new option.
* lib-src/emacsclient.c (reuse_frame): New variable.
(longopts): New option.
(decode_options): Decode the new option.
(print_help_and_exit): Document the new option.
(main): Use the new option.
Diffstat (limited to 'doc/emacs/misc.texi')
-rw-r--r-- | doc/emacs/misc.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index f66b69cdd73..4be47990d1f 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -1992,6 +1992,11 @@ the new frame displays the @file{*scratch*} buffer by default. You can customize this behavior with the variable @code{initial-buffer-choice} (@pxref{Entering Emacs}). +@item -r +@itemx --reuse-frame +Create a new graphical @dfn{client frame} if none exists, otherwise +use an existing Emacs frame. + @item -F @var{alist} @itemx --frame-parameters=@var{alist} Set the parameters for a newly-created graphical frame |