comparison lispref/objects.texi @ 80100:d68c088810a2

(Equality Predicates): Mention equal-including-properties.
author Glenn Morris <rgm@gnu.org>
date Mon, 11 Feb 2008 00:47:02 +0000
parents a1e16e813aed
children 3b51b5b38332
comparison
equal deleted inserted replaced
80099:f68e2df975f5 80100:d68c088810a2
1998 @result{} nil 1998 @result{} nil
1999 @end group 1999 @end group
2000 @end example 2000 @end example
2001 2001
2002 Comparison of strings is case-sensitive, but does not take account of 2002 Comparison of strings is case-sensitive, but does not take account of
2003 text properties---it compares only the characters in the strings. For 2003 text properties---it compares only the characters in the strings. Use
2004 @code{equal-including-properties} to also compare text properties. For
2004 technical reasons, a unibyte string and a multibyte string are 2005 technical reasons, a unibyte string and a multibyte string are
2005 @code{equal} if and only if they contain the same sequence of 2006 @code{equal} if and only if they contain the same sequence of
2006 character codes and all these codes are either in the range 0 through 2007 character codes and all these codes are either in the range 0 through
2007 127 (@acronym{ASCII}) or 160 through 255 (@code{eight-bit-graphic}). 2008 127 (@acronym{ASCII}) or 160 through 255 (@code{eight-bit-graphic}).
2008 (@pxref{Text Representations}). 2009 (@pxref{Text Representations}).