Function: set-syntax-table
set-syntax-table is a function defined in syntax.c.
Signature
(set-syntax-table TABLE)
Documentation
Select a new syntax table for the current buffer.
One argument, a syntax table.
Source Code
// Defined in /usr/src/emacs/src/syntax.c
{
int idx;
check_syntax_table (table);
bset_syntax_table (current_buffer, table);
/* Indicate that this buffer now has a specified syntax table. */
idx = PER_BUFFER_VAR_IDX (syntax_table);
SET_PER_BUFFER_VALUE_P (current_buffer, idx, 1);
return table;
}