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: Xiyue Deng
Subject: Re: Question regarding load-path handling for ELPA packages
Date: Fri, 17 May 2024 14:32:19 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Heerdegen via "Emacs development discussions."
<emacs-devel@gnu.org> writes:

> 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.
>

Thanks a lot for the pointer, Michael!  Will take a look.

> An analog trick should allow to add subdirectories.
>

Not sure about this as it may potentially break things (e.g. auctex).
Would still like to hear what the developers think.

>
> Michael.
>
>

-- 
Xiyue Deng



reply via email to

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