changeset 28315:16ed41346de7

(Fset_category_table): Use new macros for per-buffer variables.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 26 Mar 2000 14:07:56 +0000
parents c46e609d887a
children 869387703a36
files src/category.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/category.c	Sun Mar 26 14:07:30 2000 +0000
+++ b/src/category.c	Sun Mar 26 14:07:56 2000 +0000
@@ -272,11 +272,12 @@
   (table)
      Lisp_Object table;
 {
+  int idx;
   table = check_category_table (table);
   current_buffer->category_table = table;
   /* Indicate that this buffer now has a specified category table.  */
-  current_buffer->local_var_flags
-    |= XFASTINT (buffer_local_flags.category_table);
+  idx = BUFFER_LOCAL_VAR_IDX (category_table);
+  SET_BUFFER_HAS_LOCAL_VALUE_P (current_buffer, idx, 1);
   return table;
 }