diff doc/man/emacsclient.1 @ 100312:6da82f7dfa67

* misc.texi (emacsclient Options): Describe what an empty string argument does for --alternate-editor. * emacsclient.1: Describe what an empty string argument does for --alternate-editor. * emacsclient.c (print_help_and_exit): Describe what an empty string argument does for --alternate-editor. (set_socket): Make it possible to not exit in case of an error. (start_daemon_and_retry_set_socket): New function. (main): Use it. Restore the NULL value for socket_name and server_file after the set_socket call.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 10 Dec 2008 07:56:51 +0000
parents ec1ce2561f47
children 97a4b1d2ea16
line wrap: on
line diff
--- a/doc/man/emacsclient.1	Wed Dec 10 06:05:52 2008 +0000
+++ b/doc/man/emacsclient.1	Wed Dec 10 07:56:51 2008 +0000
@@ -72,6 +72,8 @@
 .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.
 .TP
 .B \-d, \-\-display=DISPLAY
 tell the server to display the files on the given display.