From 2bcc2160c9f7f16c5e9cd815b8074de27f30896d Mon Sep 17 00:00:00 2001 From: Gregory Heytings Date: Fri, 5 Nov 2021 00:14:30 +0100 Subject: 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. --- doc/man/emacsclient.1 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/man/emacsclient.1') diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1 index ba64efa282c..cc58f106e69 100644 --- a/doc/man/emacsclient.1 +++ b/doc/man/emacsclient.1 @@ -69,6 +69,9 @@ start Emacs in daemon mode, and try to connect to it. .B -c, \-\-create-frame Create a new frame instead of trying to use the current Emacs frame. .TP +.B -r \-\-reuse-frame +Reuse an existing frame if one exists, otherwise create a new frame. +.TP .B \-F, \-\-frame-parameters=ALIST Set the parameters of a newly-created frame. .TP -- cgit v1.2.3 From 3601e236792a4d3f87d17877926fea9d17c3a5a4 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 5 Nov 2021 01:10:32 +0100 Subject: ; * doc/man/emacsclient.1: Bump date after last change. --- doc/man/emacsclient.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/man/emacsclient.1') diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1 index cc58f106e69..e5d1bbe09ae 100644 --- a/doc/man/emacsclient.1 +++ b/doc/man/emacsclient.1 @@ -1,5 +1,5 @@ .\" See section COPYING for conditions for redistribution. -.TH EMACSCLIENT 1 "2020-10-18" "GNU Emacs" "GNU" +.TH EMACSCLIENT 1 "2021-11-05" "GNU Emacs" "GNU" .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other params are allowed: see man(7), man(1) .SH NAME -- cgit v1.2.3