emacs-devel
[Top][All Lists]
Advanced

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

Re: package.el should be preloaded


From: Chong Yidong
Subject: Re: package.el should be preloaded
Date: Sat, 30 Oct 2010 20:09:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> This was briefly mentioned before
>
>> http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00634.html
>
>> But it is loaded in every normal startup, whether or not I have any
>> packages installed. Surely it is impossible to tell if I have any
>> packages to load without loading package.el to search for them; so I
>> don't see any reason not to preload it.
>
> I agree we should preload it.  But we should do it by splitting the part
> that need to be preloaded into package-hooks.el.

I looked into this, but it turns out that most of package.el would need
to be preloaded.  Instead, I tweaked the code startup.el to check more
aggressively for local package directories, so that package.el won't be
loaded if no packages are installed.



reply via email to

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