Subject: Re: bug#49866: 28.0.50; gnus-summary-exit from the transient search buffer giving error

From: Eric Abrahamsen <[email-masked]>
Date: Fri, 06 Aug 2021 11:08:50 -0700

akater <[email-masked]> writes:

> Eric Abrahamsen <[email-masked]> writes:
>> ANYWAY the real problem seems to have something to do with the recent
>> change to the "eql" specializer for method definitions, done in
>> 6535fd1fa9. That patch added quotes to eg the 'list in:
>>
>> (cl-defmethod map-into (map (_type (eql 'list)))
>>   "Convert MAP into an alist."
>>   (map-pairs map))
>>
>> And removing those quotes removes the error for me. Again, simply
>> reloading either map.el or map.elc (with quotes still in place) also
>> removes the error, so there must be something tricky going on in
>> compilation. I'm cc'ing akater, the author of that patch, in hopes
>> they'll have some light to shed.
>>
>> Eric
>
> Curiously, for me (map-into nil 'list) is an error when run in emacs
> (until redefined) but not in emacs -Q.
>
> Still more curiously, (map-into nil 'alist) is not an error even when
> (map-into nil 'list) is.

Yes, both of those conditions are true for me here, as well.