[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package-quickstart and info:
From: |
Stefan Monnier |
Subject: |
Re: package-quickstart and info: |
Date: |
Thu, 07 Jan 2021 18:16:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> While debugging something else with force-load-messages set to t, I
> noticed that loading package-quickstart.el loads info -- is there a
> good reason for this?
IIRC when a package includes an Info manual, we load `info` before
modifying the `Info-directory-list`. This could be improved to avoid
loading `info`.
The place where this happens in the non-quickstart case is
`package-activate-1` and in `package-quickstart-refresh` you can see
similar code being added to the quickstart file.
IIRC the problem is that depending on whether
`info-initialize` has already been called or not, we need to add the
directory either to `Info-directory-list` or to
`Info-default-directory-list`.
Patches welcome (and if you need more info about the precise
relationship between those two Info*directory-list vars, I think Eli is
the one who knows all about it).
Stefan