1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

* lisp/emacs-lisp/shortdoc.el: Add take-while, drop-while, any, all.

This commit is contained in:
Mattias Engdegård 2025-10-21 11:22:46 +02:00
parent eed2fce541
commit 4a39e46d9c

View file

@ -761,6 +761,15 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'),
:eval (take 3 '(one two three four)))
(ntake
:eval (ntake 3 (list 'one 'two 'three 'four)))
(take-while
:eval (take-while #'numberp '(1 2 three 4 five)))
(drop-while
:eval (drop-while #'numberp '(1 2 three 4 five)))
(any
:eval (any #'symbolp '(1 2 three 4 five)))
(all
:eval (all #'symbolp '(one 2 three))
:eval (all #'symbolp '(one two three)))
(elt
:eval (elt '(one two three) 1))
(car-safe