Mercurial > emacs
diff src/category.c @ 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 | dfead1ef574c |
children | e3d57f7fba49 |
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; }