aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-06-25 14:09:07 +0000
committerRichard M. Stallman2005-06-25 14:09:07 +0000
commita044cd1f02585027c9028341553d207588bc87e4 (patch)
tree07645238be8cbb48fdf26f37b7e7110d3893f165
parent0adde683901f8d3c2660869b56334be2351a3294 (diff)
downloademacs-a044cd1f02585027c9028341553d207588bc87e4.tar.gz
emacs-a044cd1f02585027c9028341553d207588bc87e4.zip
(Equality Predicates): Clarify meaning of equal.
-rw-r--r--lispref/objects.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/lispref/objects.texi b/lispref/objects.texi
index 93d7c51b08d..4a693f186d6 100644
--- a/lispref/objects.texi
+++ b/lispref/objects.texi
@@ -1820,8 +1820,7 @@ describing the data type.
1820 1820
1821@defun eq object1 object2 1821@defun eq object1 object2
1822This function returns @code{t} if @var{object1} and @var{object2} are 1822This function returns @code{t} if @var{object1} and @var{object2} are
1823the same object, @code{nil} otherwise. The ``same object'' means that a 1823the same object, @code{nil} otherwise.
1824change in one will be reflected by the same change in the other.
1825 1824
1826@code{eq} returns @code{t} if @var{object1} and @var{object2} are 1825@code{eq} returns @code{t} if @var{object1} and @var{object2} are
1827integers with the same value. Also, since symbol names are normally 1826integers 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
1829@code{eq}. For other types (e.g., lists, vectors, strings), two 1828@code{eq}. For other types (e.g., lists, vectors, strings), two
1830arguments with the same contents or elements are not necessarily 1829arguments with the same contents or elements are not necessarily
1831@code{eq} to each other: they are @code{eq} only if they are the same 1830@code{eq} to each other: they are @code{eq} only if they are the same
1832object. 1831object, meaning that a change in the contents of one will be reflected
1832by the same change in the contents of the other.
1833 1833
1834@example 1834@example
1835@group 1835@group