emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation for `seq-contains-p` is outdated


From: Eli Zaretskii
Subject: Re: Documentation for `seq-contains-p` is outdated
Date: Sat, 29 Aug 2020 21:40:21 +0300

> From: Daniel Martín <mardani29@yahoo.es>
> Cc: emacs-devel@gnu.org
> Date: Sat, 29 Aug 2020 20:18:56 +0200
> 
> Iwan in 't Groen <iwanintgroen@gmail.com> writes:
> 
> > Hi,
> >
> > When looking up the documentation for `seq-contains-p` it seems
> > outdated.
> >
> > M-x elisp-index-search RET seq-contains-p RET returns:
> >
> > -- Function: seq-contains-p sequence elt &optional function
> >     This function returns non-‘nil’ if at least one element in SEQUENCE
> >     is equal to ELT.  If the optional argument FUNCTION is non-‘nil’,
> >     it is a function of two arguments to use instead of the default
> >     ‘equal’.
> >
> >          (seq-contains '(symbol1 symbol2) 'symbol1)
> >          ⇒ symbol1
> >          (seq-contains '(symbol1 symbol2) 'symbol3)
> >          ⇒ nil
> >
> > The title is correct but the information shown is for the obsolete
> > `seq-contains` function.
> 
> Thank you for your contribution to Emacs. The change looks good to
> me. If I'm not mistaken, this new function was introduced in 27.1, so
> this might be a safe patch for 27.2. I've only left a comment, but let's
> wait for other Emacs developers to do a proper review of this patch
> (Nicolas Petton seems like the best person to do so).

This was already fixed, see bug#42871.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]