emacs-devel
[Top][All Lists]
Advanced

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

Re: BBDB v3 approaching release


From: Tom Tromey
Subject: Re: BBDB v3 approaching release
Date: Fri, 31 May 2013 08:14:50 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> "Stephen" == Stephen J Turnbull <address@hidden> writes:

Stephen> Failing that (ie, for the foreseeable future), I think what
Stephen> ELPA should do is provide a suite of functions for finding
Stephen> package resources such as elisp (installed), the source tree,
Stephen> graphics and other multimedia, helper files for external apps
Stephen> (eg, the bbdb-print TeX style files), helper executables, and
Stephen> so on.

It does already.  See (info "(elisp) Multi-file Packages"):

       If the multi-file package contains auxiliary data files (such as
    images), the package's Lisp code can refer to these files via the
    variable `load-file-name' (*note Loading::).  Here is an example:

         (defconst superfrobnicator-base (file-name-directory load-file-name))

         (defun superfrobnicator-fetch-image (file)
           (expand-file-name file superfrobnicator-base))

Tom



reply via email to

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