From: Richard M. Stallman Date: Sat, 25 Jun 2005 14:09:07 +0000 (+0000) Subject: (Equality Predicates): Clarify meaning of equal. X-Git-Tag: emacs-pretest-22.0.90~8646 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/a044cd1f02585027c9028341553d207588bc87e4 (Equality Predicates): Clarify meaning of equal. --- diff --git a/lispref/objects.texi b/lispref/objects.texi index 93d7c51b08..4a693f186d 100644 --- a/lispref/objects.texi +++ b/lispref/objects.texi @@ -1820,8 +1820,7 @@ describing the data type. @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 @@ unique, if the arguments are symbols with the same name, they are @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