From: Gerd Moellmann Date: Sun, 26 Mar 2000 14:07:56 +0000 (+0000) Subject: (Fset_category_table): Use new macros for per-buffer X-Git-Tag: emacs-pretest-21.0.90~4494 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f598a6d4f49be103135af72c60569f27886f0a5;p=emacs.git (Fset_category_table): Use new macros for per-buffer variables. --- 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; }