* Autoload and relative file names
@ 2008-09-27 15:02 Lennart Borgman (gmail)
2008-09-27 16:11 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-27 15:02 UTC (permalink / raw
To: Emacs Devel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Autoload and relative file names
2008-09-27 15:02 Autoload and relative file names Lennart Borgman (gmail)
@ 2008-09-27 16:11 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-27 16:11 UTC (permalink / raw
To: Emacs Devel
Lennart Borgman (gmail) wrote:
> 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.
... but it is much easier to change autoload-file-load-name which I have
just adviced ...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-27 16:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-27 15:02 Autoload and relative file names Lennart Borgman (gmail)
2008-09-27 16:11 ` Lennart Borgman (gmail)
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.