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

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

bug#40972: 27.0.91; assoc TESTFN's args reversed?


From: Mattias Engdegård
Subject: bug#40972: 27.0.91; assoc TESTFN's args reversed?
Date: Wed, 9 Sep 2020 17:51:46 +0200

9 sep. 2020 kl. 17.18 skrev Stefan Kangas <stefan@marxist.se>:

>> It's quite possible that the current argument order was intended but
>> never really documented. It's occasionally exploited (see
>> image-converter--filter-formats). The asymmetry is stated more
>> explicitly in the doc string and manual entry for
>> assoc-default. Closing the bug is probably wisest.
> 
> Should we fix the doc string for assoc to match assoc-default?

Good question. The TESTFN parameter was added recently (in Emacs time) to assoc 
(0bece6c6815). Nicolas, did you intend it to be symmetric, or defined in an 
asymmetric way like in assoc-default?






reply via email to

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