diff options
Diffstat (limited to 'src/syntax.h')
| -rw-r--r-- | src/syntax.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.h b/src/syntax.h index bea66d1fada..75937a7c121 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -24,7 +24,7 @@ extern void update_syntax_table (EMACS_INT, int, int, Lisp_Object); | |||
| 24 | 24 | ||
| 25 | /* The standard syntax table is stored where it will automatically | 25 | /* The standard syntax table is stored where it will automatically |
| 26 | be used in all new buffers. */ | 26 | be used in all new buffers. */ |
| 27 | #define Vstandard_syntax_table buffer_defaults.syntax_table | 27 | #define Vstandard_syntax_table B_ (&buffer_defaults, syntax_table) |
| 28 | 28 | ||
| 29 | /* A syntax table is a chartable whose elements are cons cells | 29 | /* A syntax table is a chartable whose elements are cons cells |
| 30 | (CODE+FLAGS . MATCHING-CHAR). MATCHING-CHAR can be nil if the char | 30 | (CODE+FLAGS . MATCHING-CHAR). MATCHING-CHAR can be nil if the char |
| @@ -79,7 +79,7 @@ enum syntaxcode | |||
| 79 | # define CURRENT_SYNTAX_TABLE gl_state.current_syntax_table | 79 | # define CURRENT_SYNTAX_TABLE gl_state.current_syntax_table |
| 80 | #else | 80 | #else |
| 81 | # define SYNTAX_ENTRY SYNTAX_ENTRY_INT | 81 | # define SYNTAX_ENTRY SYNTAX_ENTRY_INT |
| 82 | # define CURRENT_SYNTAX_TABLE current_buffer->syntax_table | 82 | # define CURRENT_SYNTAX_TABLE B_ (current_buffer, syntax_table) |
| 83 | #endif | 83 | #endif |
| 84 | 84 | ||
| 85 | #define SYNTAX_ENTRY_INT(c) CHAR_TABLE_REF (CURRENT_SYNTAX_TABLE, (c)) | 85 | #define SYNTAX_ENTRY_INT(c) CHAR_TABLE_REF (CURRENT_SYNTAX_TABLE, (c)) |
| @@ -204,7 +204,7 @@ extern char syntax_code_spec[16]; | |||
| 204 | do \ | 204 | do \ |
| 205 | { \ | 205 | { \ |
| 206 | gl_state.use_global = 0; \ | 206 | gl_state.use_global = 0; \ |
| 207 | gl_state.current_syntax_table = current_buffer->syntax_table; \ | 207 | gl_state.current_syntax_table = B_ (current_buffer, syntax_table); \ |
| 208 | } while (0) | 208 | } while (0) |
| 209 | 209 | ||
| 210 | /* This macro should be called with FROM at the start of forward | 210 | /* This macro should be called with FROM at the start of forward |