]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fset_category_table): Use new macros for per-buffer
authorGerd Moellmann <gerd@gnu.org>
Sun, 26 Mar 2000 14:07:56 +0000 (14:07 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sun, 26 Mar 2000 14:07:56 +0000 (14:07 +0000)
variables.

src/category.c

index 728b3a8e91ef9dfdee02d5a3e3310a296942cb76..524823b69f442f706bae2b47cece47188c220890 100644 (file)
@@ -272,11 +272,12 @@ DEFUN ("set-category-table", Fset_category_table, Sset_category_table, 1, 1, 0,
   (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;
 }