Fix documentation of cl-member

* doc/misc/cl.texi (Lists as Sets): cl-member with no :test is not
equal to memq (because it uses eql) (bug#33655).
This commit is contained in:
Lars Ingebrigtsen 2019-07-10 01:39:33 +02:00
parent f55b5e9998
commit 77cf71ce8c

View file

@ -3820,8 +3820,7 @@ are compared by @code{eql} by default; you can use the @code{:test},
The standard Emacs lisp function @code{member} uses @code{equal} for
comparisons; it is equivalent to @code{(cl-member @var{item} @var{list}
:test 'equal)}. With no keyword arguments, @code{cl-member} is
equivalent to @code{memq}.
:test 'equal)}.
@end defun
@findex cl-member-if