]> git.eshelyaron.com Git - emacs.git/commitdiff
(RE_TRANSLATE_P): Don't use XFASTINT blindly.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Nov 2004 05:20:49 +0000 (05:20 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Nov 2004 05:20:49 +0000 (05:20 +0000)
src/config.in

index fe1adc39f9dacdb938bf44f8bf1ba61a41502214..7721d1c5d6e7497f66b28ec255cf56a543667791 100644 (file)
@@ -1,7 +1,8 @@
 /* src/config.in.  Generated from configure.in by autoheader.  */
 
 /* GNU Emacs site configuration template file.
-   Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1988, 1993, 1994, 1999, 2000, 2002, 2004
+             Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -968,7 +969,7 @@ Boston, MA 02111-1307, USA.  */
 /* Tell regex.c to use a type compatible with Emacs.  */
 #define RE_TRANSLATE_TYPE Lisp_Object
 #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
-#define RE_TRANSLATE_P(TBL) (XFASTINT (TBL) != 0)
+#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
 #endif
 
 /* Avoid link-time collision with system mktime if we will use our own.  */