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

Bug#987683: crashes with "Wrong type argument: (or eieio-object class), nil, obj"

Antoine Beaupré <anarcat@debian.org> writes:
> On 2021-04-29 13:54:05, Nicholas D. Steeves wrote:
>> These Emacs >= 27 changes also affect the point in emacs init where
>> package-enable-at-startup can be set:
>>     If non-nil, packages are made available before reading the init file
>>     (but after reading the early init file).  This means that if you
>>     wish to set this variable, you must do so in the early init file.
>> I think this bug is still valid and actionable even if removing
>> package-initialize from the minimum reproducer, and/or after moving
>> package-enable-at-startup to early-init.el makes the bug unreproducible.
>> If nothing else, it seems like our src:emacs might need a NEWS entry on
>> the topic, but that said, my suspicion is that lsp-mode could be more
>> defensive.
> So what you're saying is that in Emacs >= 27, I don't need the
> package-initialize anymore and that will fix my bug?

Yup, you don't need to manually call package-initialize anymore; also,
please see the note about package-enable-at-startup, because that
variable "must" now be set in the new early-init.el.  AFAICT These easy
config changes are normal major version migration stuff, but I'm not
sure if they'll be enough to solve your bug.  Definitely worth a shot


Attachment: signature.asc
Description: PGP signature

Reply to: