emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111220: * doc/misc/cl.texi (Equal


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111220: * doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry.
Date: Sun, 03 Feb 2013 11:40:00 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111220
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Sun 2013-02-03 11:40:00 -0800
message:
  * doc/misc/cl.texi (Equality Predicates): Fix eq/eql pedantry.
modified:
  doc/misc/ChangeLog
  doc/misc/cl.texi
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2013-01-13 10:33:16 +0000
+++ b/doc/misc/ChangeLog        2013-02-03 19:40:00 +0000
@@ -1,3 +1,7 @@
+2013-02-03  Glenn Morris  <address@hidden>
+
+       * cl.texi (Equality Predicates): Fix eq/eql pedantry.
+
 2013-01-13  Bastien Guerry  <address@hidden>
 
        * org.texi (Installation): Simplify.

=== modified file 'doc/misc/cl.texi'
--- a/doc/misc/cl.texi  2013-01-01 09:11:05 +0000
+++ b/doc/misc/cl.texi  2013-02-03 19:40:00 +0000
@@ -817,8 +817,10 @@
 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
address@hidden) 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
address@hidden 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


reply via email to

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