emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Fixing package-initialize, adding early init file


From: Stefan Monnier
Subject: Re: [PATCH] Fixing package-initialize, adding early init file
Date: Sun, 18 Feb 2018 22:10:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> The first line in the *Messages* buffer reads
>   Symbol’s value as variable is void: Info-default-directory-list

Hmm... indeed, I see the problem: in `command-line`, we do:

- load early-init.el
- activate all packages
- do various frame initializations (e.g. create the GUI frame)
- run custom-reevaluate-setting on the custom-delayed-init-variables
- load init.el

and until we run custom-reevaluate-setting, those delayed vars are
still unbound.

I don't know if it's safe to do the custom-reevaluate-setting before the
frame initializations.  If it is, then we could move it to before
loading early-init.el, and that would be my favorite choice.

If that can't be done, then the second best option is to move the
package-activation to after we run custom-reevaluate-setting (so
early-init.el still can't (require 'info) because
Info-default-directory-list is unbound, but at least the problem at hand
should be fixed).


        Stefan



reply via email to

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