emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113461: * conf_post.h (RE_TRANSLATE_P) [emacs]: Rem


From: Paul Eggert
Subject: [Emacs-diffs] trunk r113461: * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization.
Date: Fri, 19 Jul 2013 14:34:59 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113461
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2013-07-19 07:34:56 -0700
message:
  * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/conf_post.h                conf_post.h-20120730211826-q0qbxxwh2emw52hd-1
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-07-19 10:55:36 +0000
+++ b/src/ChangeLog     2013-07-19 14:34:56 +0000
@@ -1,3 +1,7 @@
+2013-07-19  Paul Eggert  <address@hidden>
+
+       * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization.
+
 2013-07-19  Eli Zaretskii  <address@hidden>
 
        * keyboard.c (kbd_buffer_get_event): Use Display_Info instead of

=== modified file 'src/conf_post.h'
--- a/src/conf_post.h   2013-06-30 15:10:33 +0000
+++ b/src/conf_post.h   2013-07-19 14:34:56 +0000
@@ -160,13 +160,7 @@
 /* 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>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]