emacs-devel
[Top][All Lists]
Advanced

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

Re: document package.el


From: Tom Tromey
Subject: Re: document package.el
Date: Wed, 25 Aug 2010 11:34:15 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Chong> It would be nice if you could write a more detailed explanation of how
Chong> to determine the pathname of non-Lisp files, such as images, that are
Chong> included with the package.

What do you think of this addition?

For example:

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

(defun superfrobnicator-fetch-image (file)
  (expand-file-name file superfrobnicator-base))
@end smallexample

Tom



reply via email to

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