changeset 28313:cdb964ab44c3

(Fset_syntax_table): Use new macros for per-buffer variables.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 26 Mar 2000 14:06:41 +0000
parents 034f252dd69b
children c46e609d887a
files src/syntax.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Sun Mar 26 14:05:44 2000 +0000
+++ b/src/syntax.c	Sun Mar 26 14:06:41 2000 +0000
@@ -721,11 +721,12 @@
   (table)
      Lisp_Object table;
 {
+  int idx;
   check_syntax_table (table);
   current_buffer->syntax_table = table;
   /* Indicate that this buffer now has a specified syntax table.  */
-  current_buffer->local_var_flags
-    |= XFASTINT (buffer_local_flags.syntax_table);
+  idx = BUFFER_LOCAL_VAR_IDX (syntax_table);
+  SET_BUFFER_HAS_LOCAL_VALUE_P (current_buffer, idx, 1);
   return table;
 }