Commit 6f598a6d authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fset_category_table): Use new macros for per-buffer

parent 7c02e886
......@@ -272,11 +272,12 @@ DEFUN ("set-category-table", Fset_category_table, Sset_category_table, 1, 1, 0,
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. */
|= 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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment