[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling (package-initialize) sooner during initialization
From: |
Artur Malabarba |
Subject: |
Re: Calling (package-initialize) sooner during initialization |
Date: |
Tue, 31 Mar 2015 15:56:56 +0100 |
>> Maybe `package-load-list' should have a nil default value instead of all
>> and once package-initialize run, it could set it to 'all if it don't
>> find a customized value.
>> This with not help the real time setting of this var (no way to unload),
>> but may solve the problem at startup.
>
> Seems it is working fine with this:
>
> 1) default value of package-load-list => nil
> 2) customize yourself package-load-list e.g => ' (all)
> 3) Add at beginning of package-initialize someting like:
> (unless package-load-list
> (setq package-load-list '(all)))
>
> When starting emacs the value of package-load-list before calling
> package-initialize is '(all).
I don't understand how this will solve the "package-initialize is
called too late" issue. People who try to configure a package in their
init file will still run into errors until "(package-initialize)" is
called.
- Re: Calling (package-initialize) sooner during initialization, (continued)
Re: Calling (package-initialize) sooner during initialization, Sebastian Wiesner, 2015/03/31