Mercurial > emacs
changeset 85663:6969c5ba7fd1
(Equality Predicates): Null strings are uniquified.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 26 Oct 2007 09:49:45 +0000 |
parents | 2eb0abeec9da |
children | 66f706bfe35f |
files | doc/lispref/objects.texi |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/objects.texi Fri Oct 26 09:48:56 2007 +0000 +++ b/doc/lispref/objects.texi Fri Oct 26 09:49:45 2007 +0000 @@ -1871,7 +1871,7 @@ @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 @@ @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