bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Basil L. Contovounesios
Subject: bug#58531: 29.0.50; Wrong predicate used by map-elt gv getter
Date: Sat, 15 Oct 2022 16:18:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

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

> "Basil L. Contovounesios" <contovob@tcd.ie> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]