Commit 4e4dfa78 authored by Gerd Moellmann's avatar Gerd Moellmann

(Fset_syntax_table): Use new macros for per-buffer

parent 999b32fd
......@@ -721,11 +721,12 @@ One argument, a syntax table.")
Lisp_Object table;
int idx;
check_syntax_table (table);
current_buffer->syntax_table = table;
/* Indicate that this buffer now has a specified syntax table. */
|= XFASTINT (buffer_local_flags.syntax_table);
idx = BUFFER_LOCAL_VAR_IDX (syntax_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