aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/syntax.h5
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 } \
290else 291else
291 292