]> git.eshelyaron.com Git - emacs.git/commit
Add new predicates for sequence lengths
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 27 Dec 2020 08:00:23 +0000 (09:00 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 27 Dec 2020 08:00:23 +0000 (09:00 +0100)
commit0f790464d547dd57a857d88dab309b286067ac45
tree9636601e10be40551a54a0c2d403f48ca39db4f3
parent714ca849ba658405ddde698cdc5836c4c9b289ca
Add new predicates for sequence lengths

* doc/lispref/sequences.texi (Sequence Functions): Document them.
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Mark them as
side-effect-free.

* lisp/emacs-lisp/shortdoc.el (list): Mention them.

* src/fns.c (Flength): Mention them in the doc string.
(length_internal): New function.
(Flength_less, Flength_greater, Flength_equal): New defuns.
(syms_of_fns): Sym them.
doc/lispref/sequences.texi
etc/NEWS
lisp/emacs-lisp/byte-opt.el
lisp/emacs-lisp/shortdoc.el
src/fns.c
test/src/fns-tests.el