aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-10-26 09:49:54 +0000
committerRichard M. Stallman2007-10-26 09:49:54 +0000
commitf2b480f4baf25c2b6272bd0ac4cf6f1e9d562ee2 (patch)
tree1a055c26a67ae92fef0c2db0b40dff6a995cb2b3
parentc1d2409c372b1661c1ef279f91867f7c5ab0bfbd (diff)
downloademacs-f2b480f4baf25c2b6272bd0ac4cf6f1e9d562ee2.tar.gz
emacs-f2b480f4baf25c2b6272bd0ac4cf6f1e9d562ee2.zip
(Equality Predicates): Null strings are uniquified.
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/objects.texi9
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index f313e83b14a..e74d8889e01 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,9 @@
12007-10-26 Richard Stallman <rms@gnu.org>
2
3 * objects.texi (Equality Predicates): Null strings are uniquified.
4
5 * minibuf.texi: Minor clarifications in previous change.
6
12007-10-25 Glenn Morris <rgm@gnu.org> 72007-10-25 Glenn Morris <rgm@gnu.org>
2 8
3 * customize.texi (Variable Definitions): Add :risky and :safe keywords. 9 * customize.texi (Variable Definitions): Add :risky and :safe keywords.
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
1871@cindex equality 1871@cindex equality
1872 1872
1873 Here we describe two functions that test for equality between any two 1873 Here we describe two functions that test for equality between any two
1874objects. Other functions test equality between objects of specific 1874objects. Other functions test equality of contents between objects of specific
1875types, e.g., strings. For these predicates, see the appropriate chapter 1875types, e.g., strings. For these predicates, see the appropriate chapter
1876describing the data type. 1876describing the data type.
1877 1877
@@ -1905,6 +1905,13 @@ by the same change in the contents of the other.
1905@end group 1905@end group
1906 1906
1907@group 1907@group
1908(eq "" "")
1909 @result{} t
1910;; @r{This exception occurs because Emacs Lisp}
1911;; @r{makes just one multibyte empty string, to save space.}
1912@end group
1913
1914@group
1908(eq '(1 (2 (3))) '(1 (2 (3)))) 1915(eq '(1 (2 (3))) '(1 (2 (3))))
1909 @result{} nil 1916 @result{} nil
1910@end group 1917@end group