]> code.delx.au - gnu-emacs/commitdiff
(NILP): Use EQ rather than XFASTINT.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 16 Nov 2004 15:32:33 +0000 (15:32 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 16 Nov 2004 15:32:33 +0000 (15:32 +0000)
src/lisp.h

index bcaee43c558adb6f127c2f7b5b44aad80e4b6ee8..44c8c1090789a0edb50f5480c388c267fd4a1dc2 100644 (file)
@@ -1374,7 +1374,7 @@ typedef unsigned char UCHAR;
 \f
 /* 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))