Stefan Monnier writes: >> + "Return the first element for which (PRED element) is non-nil in SEQ. >> +If no element is found, return SENTINEL or nil. > > "return SENTINEL or nil" should be just "return SENTINEL". > > Not only it's shorter, but it's also more precise (the current text > doesn't say when it returns SENTINEL and when it returns nil). > >> +Note that `seq-find' has an ambiguity if the found element is nil >> +and if no SENTINEL is specified, as it cannot be known if an >> +element was found or not." > > It's not just for nil but for the case where the found value is > identical to SENTINEL. Thanks, I'll improve the docstring. Nico -- Nicolas Petton http://nicolas-petton.fr