changeset 58264:e8156cc4a58f

(NILP): Use EQ rather than XFASTINT.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 16 Nov 2004 15:32:33 +0000
parents b838f6a6cb4d
children 491080266027
files src/lisp.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Tue Nov 16 15:29:10 2004 +0000
+++ b/src/lisp.h	Tue Nov 16 15:32:33 2004 +0000
@@ -1374,7 +1374,7 @@
 
 /* Data type checking */
 
-#define NILP(x)  (XFASTINT (x) == XFASTINT (Qnil))
+#define NILP(x)  EQ (x, Qnil)
 #define GC_NILP(x) GC_EQ (x, Qnil)
 
 #define NUMBERP(x) (INTEGERP (x) || FLOATP (x))