From 63b34baae679272a1c9438b4f85a9c596bc6beb8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 19 Jul 2013 07:34:56 -0700 Subject: [PATCH] * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization. --- src/ChangeLog | 4 ++++ src/conf_post.h | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index fffb0e81a0a..3f67e37a107 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-07-19 Paul Eggert + + * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization. + 2013-07-19 Eli Zaretskii * keyboard.c (kbd_buffer_get_event): Use Display_Info instead of diff --git a/src/conf_post.h b/src/conf_post.h index b19456749a2..16714076f6f 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -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 -- 2.39.2