diff options
| author | Richard M. Stallman | 1998-02-08 21:35:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-02-08 21:35:54 +0000 |
| commit | 11257d6126d9cad0b00f5e3072581147b73f4ceb (patch) | |
| tree | 760101e34c06f84bf254b4c1abc733e39c62eaa7 /src | |
| parent | 3e9377127b8b6b2d86c2c5ff847ffaec89d702c2 (diff) | |
| download | emacs-11257d6126d9cad0b00f5e3072581147b73f4ceb.tar.gz emacs-11257d6126d9cad0b00f5e3072581147b73f4ceb.zip | |
(RE_TRANSLATE_TYPE): Define as Lisp_Object.
(RE_TRANSLATE): Use Faref to examine translate table.
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.in b/src/config.in index 007f24ead5b..e986344ec24 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -347,8 +347,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 347 | 347 | ||
| 348 | #ifdef emacs /* Don't do this for lib-src. */ | 348 | #ifdef emacs /* Don't do this for lib-src. */ |
| 349 | /* Tell regex.c to use a type compatible with Emacs. */ | 349 | /* Tell regex.c to use a type compatible with Emacs. */ |
| 350 | #define RE_TRANSLATE_TYPE Lisp_Object * | 350 | #define RE_TRANSLATE_TYPE Lisp_Object |
| 351 | #define RE_TRANSLATE(TBL, C) XINT ((TBL)[C]) | 351 | #define RE_TRANSLATE(TBL, C) XINT (Faref (TBL, make_number (C))) |
| 352 | #endif | 352 | #endif |
| 353 | 353 | ||
| 354 | /* Avoid link-time collision with system mktime if we will use our own. */ | 354 | /* Avoid link-time collision with system mktime if we will use our own. */ |