diff options
author | Glenn Morris <rgm@gnu.org> | 2013-02-03 11:40:00 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-02-03 11:40:00 -0800 |
commit | 72ff76bbc2adc17dbe364dee150dfca9f627e467 (patch) | |
tree | 67f279038605e9550f874e3fd9df997f3499679d /doc/misc/cl.texi | |
parent | d23b0804fb3601e87762a1f2ea628949bb05f929 (diff) | |
download | emacs-72ff76bbc2adc17dbe364dee150dfca9f627e467.tar.gz |
* doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry.
Diffstat (limited to 'doc/misc/cl.texi')
-rw-r--r-- | doc/misc/cl.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index ae96f2c5cb8..eb37829e9fa 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi @@ -817,8 +817,10 @@ not compare strings against vectors of integers. Also note that the Common Lisp functions @code{member} and @code{assoc} use @code{eql} to compare elements, whereas Emacs Lisp follows the MacLisp tradition and uses @code{equal} for these two functions. -In Emacs, use @code{memq} (or @code{cl-member}) and @code{assq} (or -@code{cl-assoc}) to get functions which use @code{eql} for comparisons. +The functions @code{cl-member} and @code{cl-assoc} use @code{eql}, +as in Common Lisp. The standard Emacs Lisp functions @code{memq} and +@code{assq} use @code{eq}, so you can use these if you do not care +about the difference between @code{eq} and @code{eql}. @node Control Structure @chapter Control Structure |