diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-31 05:28:47 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-31 05:28:47 +0100 |
commit | b1ac23ebef62d5a185727a4973462828dc6f65f0 (patch) | |
tree | 453a984bdfccfd3217743630e2b7260b144d38d7 /etc | |
parent | 3d9f20cfcf647063e62ba12187cf3b4bcd4d9685 (diff) | |
download | emacs-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |