Doc string clarification for cl-some
* lisp/emacs-lisp/cl-extra.el (cl-some): Clarify the return value (bug#44330).
This commit is contained in:
parent
76d522e59e
commit
7a3d8559c9
1 changed files with 5 additions and 2 deletions
|
@ -201,8 +201,11 @@ the elements themselves.
|
|||
|
||||
;;;###autoload
|
||||
(defun cl-some (cl-pred cl-seq &rest cl-rest)
|
||||
"Return true if PREDICATE is true of any element of SEQ or SEQs.
|
||||
If so, return the true (non-nil) value returned by PREDICATE.
|
||||
"Say whether PREDICATE is true for any element in the SEQ sequences.
|
||||
More specifically, the return value of this function will be the
|
||||
same as the first return value of PREDICATE where PREDICATE has a
|
||||
non-nil value.
|
||||
|
||||
\n(fn PREDICATE SEQ...)"
|
||||
(if (or cl-rest (nlistp cl-seq))
|
||||
(catch 'cl-some
|
||||
|
|
Loading…
Add table
Reference in a new issue