[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: server-start can kill the wrong process
From: |
John Paul Wallington |
Subject: |
Re: server-start can kill the wrong process |
Date: |
Fri, 25 Jul 2003 14:12:03 +0100 |
> Start Emacs with "emacs --no-init-file --no-site-file".
> Run M-x shell RET.
> Run M-x server-start RET.
> The shell dies; it shouldn't.
>
> This happens because of the following form in server-start:
>
> ;; kill it dead!
> (condition-case () (delete-process server-process) (error nil))
>
> If there is no server process yet, (delete-process nil) gets
> called, which then kills the process of the current buffer.
Thanks for the report. I've installed a simple fix.