changeset: 4472:a99eb40f0b5b20b5883afae4908bf425998addbf
tag: tip
user: Aidan Kehoe <kehoea(a)parhasard.net>
date: Thu May 29 18:53:45 2008 +0200
files: man/ChangeLog man/lispref/objects.texi
description:
Correct an omitted word, expand on bignum equality in the lispref.
2008-05-29 Aidan Kehoe <kehoea(a)parhasard.net>
* lispref/objects.texi (Equality Predicates):
Expand on bignum equality; correct an omitted word in the last
commit.
diff -r 2d39535e1f9d3557a3382ef0823ad5a47ace5a6a -r
a99eb40f0b5b20b5883afae4908bf425998addbf man/ChangeLog
--- a/man/ChangeLog Tue May 27 11:58:42 2008 +0200
+++ b/man/ChangeLog Thu May 29 18:53:45 2008 +0200
@@ -1,3 +1,9 @@ 2008-05-27 Aidan Kehoe <kehoea@parhasa
+2008-05-29 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * lispref/objects.texi (Equality Predicates):
+ Expand on bignum equality; correct an omitted word in the last
+ commit.
+
2008-05-27 Aidan Kehoe <kehoea(a)parhasard.net>
* lispref/objects.texi (Equality Predicates):
diff -r 2d39535e1f9d3557a3382ef0823ad5a47ace5a6a -r
a99eb40f0b5b20b5883afae4908bf425998addbf man/lispref/objects.texi
--- a/man/lispref/objects.texi Tue May 27 11:58:42 2008 +0200
+++ b/man/lispref/objects.texi Thu May 29 18:53:45 2008 +0200
@@ -2247,10 +2247,12 @@ change in one will be reflected by the s
@code{eq} returns @code{t} if @var{object1} and @var{object2} are
integers with the same value. It is preferable to use @code{=} or
-@code{eql} in many contexts for numeric comparison; @pxref{Comparison of
-Numbers}. @code{eq} also returns @code{t} if @var{object1} and
-@var{object2} are identical characters, though in this case you may
-prefer to use @code{char=}.
+@code{eql} in many contexts for numeric comparison, especially since
+bignums (integers with values that would have otherwise overflowed, only
+available on some builds) with the same value are not @code{eq};
+@pxref{Comparison of Numbers}. @code{eq} also returns @code{t} if
+@var{object1} and @var{object2} are identical characters, though in this
+case you may prefer to use @code{char=}.
Also, since symbol names are normally unique, if the arguments are
symbols with the same name, they are @code{eq}. For other types (e.g.,
@@ -2264,7 +2266,7 @@ the same name are not @code{eq}. @xref{
the same name are not @code{eq}. @xref{Creating Symbols}.)
NOTE: Under XEmacs 19, characters are really just integers, and thus
-characters and integers with the same numeric are @code{eq}. Under
+characters and integers with the same numeric code are @code{eq}. Under
XEmacs 20, it was necessary to preserve remnants of this in function
such as @code{old-eq} in order to maintain byte-code compatibility.
Byte code compiled under any Emacs 19 will automatically have calls to
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches