Mercurial > emacs
comparison man/misc.texi @ 27306:e800c7e35912
New option --alternate-editor for emacsclient.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 12 Jan 2000 13:43:51 +0000 |
parents | ac3a8cb1ce25 |
children | 98f24cb3efa5 |
comparison
equal
deleted
inserted
replaced
27305:4161adef5fd3 | 27306:e800c7e35912 |
---|---|
1174 names that are temporary. | 1174 names that are temporary. |
1175 | 1175 |
1176 If you run @code{emacsclient} with the option @samp{--no-wait}, it | 1176 If you run @code{emacsclient} with the option @samp{--no-wait}, it |
1177 returns immediately without waiting for you to ``finish'' the buffer in | 1177 returns immediately without waiting for you to ``finish'' the buffer in |
1178 Emacs. | 1178 Emacs. |
1179 | |
1180 If you have forgotten to start Emacs, then the option | |
1181 @samp{--alternate-editor=@var{command}} may be useful. It specifies a | |
1182 command to run if @code{emacsclient} fails to contact Emacs. For | |
1183 example, the following setting for the @var{EDITOR} environment variable | |
1184 will always give an editor, even if Emacs is not running. | |
1185 | |
1186 @example | |
1187 EDITOR="emacsclient --alternate-editor vi +%d %s" | |
1188 @end example | |
1189 | |
1190 The environment variable @var{ALTERNATE_EDITOR} has the same effect, but | |
1191 the value of the @samp{--alternate-editor} takes precedence. | |
1179 | 1192 |
1180 @menu | 1193 @menu |
1181 * Invoking emacsclient:: | 1194 * Invoking emacsclient:: |
1182 @end menu | 1195 @end menu |
1183 | 1196 |