Jens Petersen <[EMAIL PROTECTED]> writes: > Does anyone have an emacsclient wrapper script or program which > can reliably launch emacs with server-start if none is running?
>From the Emacs manual: The option `--alternate-editor=COMMAND' is useful when running `emacsclient' in a script. It specifies a command to run if `emacsclient' fails to contact Emacs. For example, the following setting for the EDITOR environment variable will always give you an editor, even if no Emacs server is running: EDITOR="emacsclient --alternate-editor emacs +%d %s" -- David Kastrup, Kriemhildstr. 15, 44793 Bochum _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel