Skip site navigation (1)Skip section navigation (2)
Date:      03 Jan 2003 05:37:48 +0100
From:      Henrik Motakef <henrik.motakef@web.de>
To:        freebsd-ports@FreeBSD.org
Subject:   How to install Emacs Lisp files?
Message-ID:  <8765t6alwj.fsf@interim.henrik-motakef.de>

next in thread | raw e-mail | index | archive | help
Hi,

What is the best way to install emacs lisp files for whatever Emacs is
installed?

I'm looking in a port that includes an elisp file that works with
either GNU Emacs or XEmacs. It is also useful without any Emacs, so
creating a foo-emacs and a foo-xemacs port seems stupid. My idea is
basically to look what Emacsen are installed, and put the elisp file
in their load-path, without adding a dependency on any Emacs.

As far as I can see, there are PREFIX/share/emacs/site-lisp and
PREFIX/lib/xemacs/site-lisp that are independent of the specific
(X)Emacs version, but is there a convenient way not to have to check
whether one or both of them are already installed? bsd.emacs.mk
doesn't seem to mention something like that, and the chapter in the
porter's handbook isn't too helpful yet ;-)

Thanks in advance
Henrik


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8765t6alwj.fsf>