From 6f598a6d4f49be103135af72c60569f27886f0a5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sun, 26 Mar 2000 14:07:56 +0000 Subject: [PATCH] (Fset_category_table): Use new macros for per-buffer variables. --- src/category.c | 5 +++-- 1 file 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; } -- 2.39.5