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:
parent
f55b5e9998
commit
77cf71ce8c
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue