[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35206: [PATCH] Misleading `list-get' argument description
From: |
Mattias Engdegård |
Subject: |
bug#35206: [PATCH] Misleading `list-get' argument description |
Date: |
Tue, 9 Apr 2019 12:34:09 +0200 |
The doc string for `list-get' says
Use TESTFN to lookup in the alist if non-nil. Otherwise, use `assq'.
which is misleading since it's an equality predicate, not a look-up function,
and the default is `eq', not `assq'.
How about changing it to
Equality is defined by TESTFN or by `eq' if nil or omitted.
0001-Clarify-the-TESTFN-argument-to-alist-get.patch
Description: Binary data
- bug#35206: [PATCH] Misleading `list-get' argument description,
Mattias Engdegård <=