Mercurial > emacs
diff lispref/objects.texi @ 63763:121f7f14ce00
(Equality Predicates): Clarify meaning of equal.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 25 Jun 2005 14:09:07 +0000 |
| parents | 04426c0c07aa |
| children | e836425ee789 bb71c6cf2009 |
line wrap: on
line diff
--- a/lispref/objects.texi Sat Jun 25 14:08:34 2005 +0000 +++ b/lispref/objects.texi Sat Jun 25 14:09:07 2005 +0000 @@ -1820,8 +1820,7 @@ @defun eq object1 object2 This function returns @code{t} if @var{object1} and @var{object2} are -the same object, @code{nil} otherwise. The ``same object'' means that a -change in one will be reflected by the same change in the other. +the same object, @code{nil} otherwise. @code{eq} returns @code{t} if @var{object1} and @var{object2} are integers with the same value. Also, since symbol names are normally @@ -1829,7 +1828,8 @@ @code{eq}. For other types (e.g., lists, vectors, strings), two arguments with the same contents or elements are not necessarily @code{eq} to each other: they are @code{eq} only if they are the same -object. +object, meaning that a change in the contents of one will be reflected +by the same change in the contents of the other. @example @group
