Document exactly how emacsclient's -a "" starts the daemon.

* doc/emacs/misc.texi (emacsclient Options): Document how emacsclient
  runs the Emacs daemon.

* doc/man/emacsclient.1: Document how -a "" starts the daemon.

Fixes: debbugs:9674
This commit is contained in:
Chong Yidong
2011-10-06 11:13:45 -04:00
parent a1c2d21e0e
commit 453e452200
4 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2011-10-06 Chong Yidong <cyd@stupidchicken.com>
* misc.texi (emacsclient Options): Document how emacsclient runs
the Emacs daemon (Bug#9674).
2011-10-01 Chong Yidong <cyd@stupidchicken.com>
* basic.texi (Moving Point):

View File

@@ -1531,8 +1531,8 @@ Specify a command to run if @code{emacsclient} fails to contact Emacs.
This is useful when running @code{emacsclient} in a script.
As a special exception, if @var{command} is the empty string, then
@code{emacsclient} starts Emacs in daemon mode and then tries
connecting again.
@code{emacsclient} starts Emacs in daemon mode (as @command{emacs
--daemon}) and then tries connecting again.
@cindex @env{ALTERNATE_EDITOR} environment variable
The environment variable @env{ALTERNATE_EDITOR} has the same effect as

View File

@@ -1,3 +1,7 @@
2011-10-06 Chong Yidong <cyd@stupidchicken.com>
* emacsclient.1: Document how -a "" starts the daemon.
2011-09-17 Sven Joachim <svenjoac@gmx.de>
* emacs.1: Escape a dash.

View File

@@ -52,8 +52,8 @@ options starting with two dashes (`-').
.B \-a, \-\-alternate-editor=EDITOR
if the Emacs server is not running, run the specified editor instead.
This can also be specified via the `ALTERNATE_EDITOR' environment variable.
If the value of EDITOR is the empty string, then Emacs is started in
daemon mode and emacsclient will try to connect to it.
If the value of EDITOR is the empty string, run `emacs --daemon' to
start Emacs in daemon mode, and try to connect to it.
.TP
.B -c, \-\-create-frame
create a new frame instead of trying to use the current Emacs frame