[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7a3d855: Doc string clarification for cl-some
From: |
Lars Ingebrigtsen |
Subject: |
master 7a3d855: Doc string clarification for cl-some |
Date: |
Sun, 1 Nov 2020 07:55:37 -0500 (EST) |
branch: master
commit 7a3d8559c9abac17c4ef2b951554912a87a9995d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Doc string clarification for cl-some
* lisp/emacs-lisp/cl-extra.el (cl-some): Clarify the return value
(bug#44330).
---
lisp/emacs-lisp/cl-extra.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el
index 23c784f..d3159a3 100644
--- a/lisp/emacs-lisp/cl-extra.el
+++ b/lisp/emacs-lisp/cl-extra.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7a3d855: Doc string clarification for cl-some,
Lars Ingebrigtsen <=