[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 1d4e903417: Speed up generation of loaddefs files
From: |
Stefan Monnier |
Subject: |
Re: master 1d4e903417: Speed up generation of loaddefs files |
Date: |
Sat, 11 Jun 2022 11:12:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen [2022-06-11 13:03:40] wrote:
> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> Backtrace attached. The same error occurs with a subsequent:
>>
>> C-x C-c
>> $ emacs -Q
>> M-x package-initialize RET
>>
>> I guess either the -autoloads.el file should continue to be generated
>> unconditionally, or its nonexistence should not be regarded as an error.
>
> I guess generating the file unconditionally would be possible... but
> perhaps it'd be better if this didn't signal an error? Perhaps Stefan
> has an opinion here; added to the CCs.
Even in the absence of any autoload cookies, the generated file is
supposed to contain:
"(add-to-list 'load-path (directory-file-name
(or (file-name-directory #$) (car load-path))))")
so it's necessary to produce the file.
Stefan