Subject: bug#33655: 26.1; A small error in cl-member's documentation

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 10 Jul 2019 01:40:11 +0200

Xu Chunyang <[email-masked]> writes:

> (info "(cl) Lists as Sets") says
>
>> With no keyword arguments, ‘cl-member’ is equivalent to ‘memq’.
>
> It is not true, since cl-member uses eql by default, while memq uses eq.
>
>   (cl-member 1.0 '(1.0))
>   ;; => (1.0)
>   
>   (memq 1.0 '(1.0))
>   ;; => nil

Yup; the documentation is wrong here.  I've now removed that sentence
about memq from the manual on the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no