emacs-devel
[Top][All Lists]
Advanced

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

Re: Question regarding load-path handling for ELPA packages


From: Michael Heerdegen
Subject: Re: Question regarding load-path handling for ELPA packages
Date: Fri, 17 May 2024 19:33:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Xiyue Deng <manphiz@gmail.com> writes:

> > * Would someone kindly provide some pointer to how `load-path' is being
> > handled as my rusty Elisp is preventing me to fully understand this.

Can only answer this one: AFAIU this is done using the autoload
mechanism - see `package-generate-autoloads'.

In effect, the parent directory of the autoloads file is added to
`load-path' when this file is loaded - typically when activating
packages.

An analog trick should allow to add subdirectories.


Michael.




reply via email to

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