]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 fffb0e81a0a29192f7265a8a26672baf232251b4..3f67e37a1078cc4735a3088f6ee40504dde99924 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 b19456749a2ce16cc8519fd29668573221bf54d1..16714076f6f4ffa00cca1e5ad620707eb879f669 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>