diff options
| author | Richard M. Stallman | 1998-06-11 20:16:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-06-11 20:16:45 +0000 |
| commit | 9b9794f024acd62ae52c2e12b31002b2c2469bfc (patch) | |
| tree | 36a92e930e54c725109fe5d6f68621fa3ef552e7 /src/syntax.h | |
| parent | 3b57457337432863712b3951765915fdc82af342 (diff) | |
| download | emacs-9b9794f024acd62ae52c2e12b31002b2c2469bfc.tar.gz emacs-9b9794f024acd62ae52c2e12b31002b2c2469bfc.zip | |
(SETUP_SYNTAX_TABLE): Don't call update_syntax_table
for FROM-1 if that's before BEGV.
Diffstat (limited to 'src/syntax.h')
| -rw-r--r-- | src/syntax.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/syntax.h b/src/syntax.h index 35d50899e3f..4b58b5da636 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -284,8 +284,9 @@ if (1) \ | |||
| 284 | gl_state.offset = 0; \ | 284 | gl_state.offset = 0; \ |
| 285 | gl_state.current_syntax_table = current_buffer->syntax_table; \ | 285 | gl_state.current_syntax_table = current_buffer->syntax_table; \ |
| 286 | if (parse_sexp_lookup_properties) \ | 286 | if (parse_sexp_lookup_properties) \ |
| 287 | update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT), \ | 287 | if ((COUNT) > 0 || (FROM) > BEGV) \ |
| 288 | 1, Qnil); \ | 288 | update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT),\ |
| 289 | 1, Qnil); \ | ||
| 289 | } \ | 290 | } \ |
| 290 | else | 291 | else |
| 291 | 292 | ||