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

Re: jed/xjed launch script?



On Tue, Feb 17, 2004 at 06:53:52PM -0500, Bob Bernstein wrote:
> Has anyone written a shell script that will query for the presence of
> X, and if found launch xjed, else launch jed?

Instead of starting a new (x)jed, you can open your file in an existing one
with the emacsclient and emacsserver programs and the server.sl script in
<http://jedmodes.sf.net/index.php?mode=misc>. As an example I have this in
.muttrc:

set editor="emacsclient %s || jed %s"


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.