summaryrefslogtreecommitdiff
path: root/doc/lispref/objects.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-10-26 09:49:54 +0000
committerRichard M. Stallman <rms@gnu.org>2007-10-26 09:49:54 +0000
commitf2b480f4baf25c2b6272bd0ac4cf6f1e9d562ee2 (patch)
tree1a055c26a67ae92fef0c2db0b40dff6a995cb2b3 /doc/lispref/objects.texi
parentc1d2409c372b1661c1ef279f91867f7c5ab0bfbd (diff)
downloademacs-f2b480f4baf25c2b6272bd0ac4cf6f1e9d562ee2.tar.gz
(Equality Predicates): Null strings are uniquified.
Diffstat (limited to 'doc/lispref/objects.texi')
-rw-r--r--doc/lispref/objects.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index b4114a97d5d..0da05488858 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -1871,7 +1871,7 @@ This function returns a symbol naming the primitive type of
@cindex equality
Here we describe two functions that test for equality between any two
-objects. Other functions test equality between objects of specific
+objects. Other functions test equality of contents between objects of specific
types, e.g., strings. For these predicates, see the appropriate chapter
describing the data type.
@@ -1905,6 +1905,13 @@ by the same change in the contents of the other.
@end group
@group
+(eq "" "")
+ @result{} t
+;; @r{This exception occurs because Emacs Lisp}
+;; @r{makes just one multibyte empty string, to save space.}
+@end group
+
+@group
(eq '(1 (2 (3))) '(1 (2 (3))))
@result{} nil
@end group