From: Richard M. Stallman Date: Thu, 11 Jun 1998 20:16:45 +0000 (+0000) Subject: (SETUP_SYNTAX_TABLE): Don't call update_syntax_table X-Git-Tag: emacs-20.3~641 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9b9794f024acd62ae52c2e12b31002b2c2469bfc;p=emacs.git (SETUP_SYNTAX_TABLE): Don't call update_syntax_table for FROM-1 if that's before BEGV. --- 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) \ gl_state.offset = 0; \ gl_state.current_syntax_table = current_buffer->syntax_table; \ if (parse_sexp_lookup_properties) \ - update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT), \ - 1, Qnil); \ + if ((COUNT) > 0 || (FROM) > BEGV) \ + update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT),\ + 1, Qnil); \ } \ else