Function: set-category-table
set-category-table is a function defined in category.c.
Signature
(set-category-table TABLE)
Documentation
Specify TABLE as the category table for the current buffer.
Return TABLE.
Source Code
// Defined in /usr/src/emacs/src/category.c
{
int idx;
table = check_category_table (table);
bset_category_table (current_buffer, table);
/* Indicate that this buffer now has a specified category table. */
idx = PER_BUFFER_VAR_IDX (category_table);
SET_PER_BUFFER_VALUE_P (current_buffer, idx, 1);
return table;
}