bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1058: 23.0.60; emacs --daemon should not return until socket is read


From: Stefan Monnier
Subject: bug#1058: 23.0.60; emacs --daemon should not return until socket is ready
Date: Mon, 13 Oct 2008 11:16:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> -(defun server-start (&optional leave-dead)
> +(defun server-start (&optional leave-dead server-arg)
>    "Allow this Emacs process to be a server for client processes.
>  This starts a server communications subprocess through which
>  client \"editors\" can send your editing commands to this Emacs
> @@ -463,6 +463,8 @@ kill any existing server communications 
>      (when server-process
>        ;; kill it dead!
>        (ignore-errors (delete-process server-process)))
> +    (when (stringp server-arg)
> +      (setq server-name server-arg))

Changing the global var like this is an ugly hack.
I'd rather not add any feature in this direction for now anyway.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]