help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: About equality in Emacs


From: Michael Heerdegen
Subject: Re: About equality in Emacs
Date: Sun, 03 Feb 2013 17:58:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux)

Xue Fuqiao <xfq.free@gmail.com> writes:

> In the trunk version of (info "(cl) Equality Predicates"):
>
>    Also note that the Common Lisp functions `member' and `assoc' use
> `eql' to compare elements, whereas Emacs Lisp follows the MacLisp
> tradition and uses `equal' for these two functions.  In Emacs, use
> `memq' (or `cl-member') and `assq' (or `cl-assoc') to get functions
> which use `eql' for comparisons.
>
> I'm confused with the last sentence.  Don't `memq' and `assq' compare
> objects with `eq'?  Why does the manual say that they "get functions
> which use `eql' for comparisons"?

Doesn't make much sense to me as well.  I filed a bug report; it's now
bug#13620.  I think this sentence was just damaged when it was updated.


Regards,

Michael.



reply via email to

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