Subject: bug#58531: 29.0.50; Wrong predicate used by map-elt gv getter

From: "Basil L. Contovounesios" <[email-masked]>
Date: Sat, 15 Oct 2022 16:18:54 +0300

Lars Ingebrigtsen [2022-10-15 12:33 +0200] wrote:

> "Basil L. Contovounesios" <[email-masked]> writes:
>
>> - The predicate in plist-get & co. being called with flipped arguments
>>   compared to assoc & alist-get
>
> Hm...  the latter sounds like something that could lead to obscure bugs
> in callers out there.

How so?  The predicate argument is new in Emacs 29, and the order of its
arguments is undocumented, so no-one should be relying on it yet.  I
just didn't see a reason why it should differ between plist-get and
assoc when Emacs 29 is released.

-- 
Basil