summaryrefslogtreecommitdiff
path: root/src/category.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-03-26 14:07:56 +0000
committerGerd Moellmann <gerd@gnu.org>2000-03-26 14:07:56 +0000
commit6f598a6d4f49be103135af72c60569f27886f0a5 (patch)
treee20c091142bc4033af254be89b04d171f5377c90 /src/category.c
parent7c02e886dd1b89854a17c56edfc336eb67c792c9 (diff)
downloademacs-6f598a6d4f49be103135af72c60569f27886f0a5.tar.gz
(Fset_category_table): Use new macros for per-buffer
variables.
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/category.c b/src/category.c
index 728b3a8e91e..524823b69f4 100644
--- a/src/category.c
+++ b/src/category.c
@@ -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;
}