From a0878abd691e9cc36ee7298b249593a79cdd6029 Mon Sep 17 00:00:00 2001 From: immerrr Date: Mon, 12 Oct 2015 14:16:48 +0300 Subject: [PATCH 1/2] Fix syntax-propertize--done to be buffer-local * src/syntax.c (syms_of_syntax): fix syntax-propertize--done to be buffer-local --- src/syntax.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/syntax.c b/src/syntax.c index 6bfb3b7..4f7dcd7 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -3668,11 +3668,12 @@ Otherwise, that text property is simply ignored. See the info node `(elisp)Syntax Properties' for a description of the `syntax-table' property. */); + DEFSYM (Qsyntax_propertize__done, "syntax-propertize--done"); DEFVAR_INT ("syntax-propertize--done", syntax_propertize__done, doc: /* Position up to which syntax-table properties have been set. */); syntax_propertize__done = -1; DEFSYM (Qinternal__syntax_propertize, "internal--syntax-propertize"); - Fmake_variable_buffer_local (intern ("syntax-propertize--done")); + Fmake_variable_buffer_local (Qsyntax_propertize__done); words_include_escapes = 0; DEFVAR_BOOL ("words-include-escapes", words_include_escapes, -- 2.6.1