(RE_TRANSLATE): Use char_table_translate.
This commit is contained in:
parent
1d969a2339
commit
37cbd14613
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ Boston, MA 02111-1307, USA. */
|
|||
#ifdef emacs /* Don't do this for lib-src. */
|
||||
/* Tell regex.c to use a type compatible with Emacs. */
|
||||
#define RE_TRANSLATE_TYPE Lisp_Object
|
||||
#define RE_TRANSLATE(TBL, C) XINT (Faref (TBL, make_number (C)))
|
||||
#define RE_TRANSLATE(TBL, C) char_table_translate (TBL, C)
|
||||
#endif
|
||||
|
||||
/* Avoid link-time collision with system mktime if we will use our own. */
|
||||
|
|
Loading…
Add table
Reference in a new issue