summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/syntax.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 4386ea2db0c..e11c5d1c341 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -173,7 +173,8 @@ One argument, a syntax table.")
table = check_syntax_table (table);
current_buffer->syntax_table = table;
/* Indicate that this buffer now has a specified syntax table. */
- current_buffer->local_var_flags |= buffer_local_flags.syntax_table;
+ current_buffer->local_var_flags
+ |= XFASTINT (buffer_local_flags.syntax_table);
return table;
}