Author: Allan GottliebAllan Gottlieb Date: Aug 21, 2008 07:41
At Thu, 21 Aug 2008 12:55:00 +0100 Alex Bennee cbnl.com> wrote:
> Hi,
>
> I want to set-up emacs to start the server once per X sessions (and I
> guess once per screen session once I get multi-tty working). However
> there doesn't seem to be way to check in emacs if the server is
> currently running.
>
> So far the best I can come up with is having my start-up emacs with the
> args:
>
> emacs --eval (defvar this-is-the-master t)
>
> And appropriate hackery in the .emacs. Is there a nicer way to deal with
> this?
I don't know if it is nicer (I suspect it is similar)
but I use the following so that the invocation of emacs is not changed.
|