* conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Jul 2013 14:34:56 +0000 (07:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Jul 2013 14:34:56 +0000 (07:34 -0700)
src/ChangeLog
src/conf_post.h

index fffb0e8..3f67e37 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization.
+
 2013-07-19  Eli Zaretskii  <eliz@gnu.org>
 
        * keyboard.c (kbd_buffer_get_event): Use Display_Info instead of
index b194567..1671407 100644 (file)
@@ -160,13 +160,7 @@ extern void _DebPrint (const char *fmt, ...);
 /* 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)
-#ifdef make_number
-/* If make_number is a macro, use it.  */
 #define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
-#else
-/* If make_number is a function, avoid it.  */
-#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
-#endif
 #endif
 
 #include <string.h>