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:
parent
eed2fce541
commit
4a39e46d9c
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue