emacs-devel
[Top][All Lists]
Advanced

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

Re: bug in server-start


From: Juanma Barranquero
Subject: Re: bug in server-start
Date: Mon, 15 Dec 2008 12:03:50 +0100

On Mon, Dec 15, 2008 at 11:50, Sven Joachim <address@hidden> wrote:

> But a feature that doesn't work right ATM, because I can't even check in
> .emacs if a server is already running without loading server.el first.

(require 'server)
(unless (server-running-p)
   (server-start))

works. It forces you to load server.el, but an autoload on
server-running-p will do the same thing.

> Either make server-start return nil and display a message instead of
> throwing an error, or autoload server-running-p so that

Turning the error into a message is OK to me. Let's see what does Stefan think.

    Juanma




reply via email to

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