summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-12-31 05:28:47 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-31 05:28:47 +0100
commitb1ac23ebef62d5a185727a4973462828dc6f65f0 (patch)
tree453a984bdfccfd3217743630e2b7260b144d38d7 /etc
parent3d9f20cfcf647063e62ba12187cf3b4bcd4d9685 (diff)
downloademacs-b1ac23ebef62d5a185727a4973462828dc6f65f0.tar.gz
Allow add-to-ordered-list to use a test predicate
* doc/lispref/lists.texi (List Variables): Update manual. * lisp/subr.el (add-to-ordered-list): Allow using a test predicate, and make slightly more efficient (bug#45539).
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 1b49b015608..865dbdf516c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1483,6 +1483,9 @@ that makes it a valid button.
** Miscellaneous
+++
+*** 'add-to-ordered-list' can now take a test predicate.
+
++++
*** New predicate functions 'length<', 'length>' and 'length='.
Using these functions may be more efficient than using 'length' (if
the length of a (long) list is being computed just to compare this