changeset: 4537:af95657e0bfdbc887ab4900b5627cbaaf21e112a
user: Aidan Kehoe <kehoea(a)parhasard.net>
date: Wed Aug 27 00:39:09 2008 +0200
files: src/ChangeLog src/symbols.c
description:
Use EQ() and !EQ() in symbols.c, thank you Robert Delius Royar.
2008-08-27 Aidan Kehoe <kehoea(a)parhasard.net>
* symbols.c (Fuser_variable_p):
(map_varalias_chain):
Use EQ() and !EQ(), don't compare two Lisp_Objects using == and
!=. Fixes the union build, thank you Robert Delius Royar.
diff -r 8748a3f7ceb4d37b2a73b7fcbd8256a05e0b666c -r
af95657e0bfdbc887ab4900b5627cbaaf21e112a src/ChangeLog
--- a/src/ChangeLog Sat Aug 23 16:38:51 2008 +0200
+++ b/src/ChangeLog Wed Aug 27 00:39:09 2008 +0200
@@ -1,3 +1,10 @@ 2008-08-23 Aidan Kehoe <kehoea@parhasa
+2008-08-27 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * symbols.c (Fuser_variable_p):
+ (map_varalias_chain):
+ Use EQ() and !EQ(), don't compare two Lisp_Objects using == and
+ !=. Fixes the union build, thank you Robert Delius Royar.
+
2008-08-23 Aidan Kehoe <kehoea(a)parhasard.net>
* eval.c (Fuser_variable_p): Moved to symbols.c
diff -r 8748a3f7ceb4d37b2a73b7fcbd8256a05e0b666c -r
af95657e0bfdbc887ab4900b5627cbaaf21e112a src/symbols.c
--- a/src/symbols.c Sat Aug 23 16:38:51 2008 +0200
+++ b/src/symbols.c Wed Aug 27 00:39:09 2008 +0200
@@ -2823,7 +2823,7 @@ this error if you really want to avoid t
return Qnil;
}
- assert (make_int (1) == mapped);
+ assert (EQ (make_int (1), mapped));
return Qt;
}
@@ -3247,7 +3247,7 @@ map_varalias_chain (Lisp_Object symbol,
count++)
{
res = (fn) (hare);
- if (Qzero != res)
+ if (!EQ (Qzero, res))
{
return res;
}
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches