emacs-devel
[Top][All Lists]
Advanced

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

Re: error in server-running-p on M$


From: Ulrich Mueller
Subject: Re: error in server-running-p on M$
Date: Mon, 24 Nov 2008 16:10:30 +0100

>>>>> On Mon, 24 Nov 2008, Juanma Barranquero wrote:

> WDYT about the following patch?

> +      (if (not (server-running-p server-name))
> +          (ignore-errors (delete-file server-file))
> +        (setq server-mode nil)  ;; already set by the minor mode code
> +        (error "Server %S is already running" server-name))

Instead of a hard error, maybe you could add a yes-or-no-p
confirmation here? Or an additional (prefix?) argument to override the
test, since we know that server-running-p is not 100% reliable.

Ulrich




reply via email to

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