From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: Autoload and relative file names
Date: Sat, 27 Sep 2008 17:02:11 +0200 [thread overview]
Message-ID: <48DE4AF3.9060307@gmail.com> (raw)
The function that generates autoload, autoload-generate-file-autoloads,
enters just the file name without extension in the generated autoloads.
This means that the file with the autoloaded functions must be in
load-path. This is not always what is desired.
The function `load' (that I assume does the loading later) can use file
names that are relative to any entry in `load-path'. I think it would be
quite useful to be able to generate the autoload section such that it
uses a file name relative to load-path. This could be done by adding a
new parameter, the directory to make the relative file name against.
next reply other threads:[~2008-09-27 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-27 15:02 Lennart Borgman (gmail) [this message]
2008-09-27 16:11 ` Autoload and relative file names Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48DE4AF3.9060307@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.