diff options
| author | Gerd Moellmann | 2000-03-26 14:06:41 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-03-26 14:06:41 +0000 |
| commit | 4e4dfa78179f9e6d3375c7c0db235111d6137493 (patch) | |
| tree | 375e188be25e6a2ef6d9c54dc4dd9ed5525c080d /src/syntax.c | |
| parent | 999b32fd113e6ce7570c5bff2712c2b628318f22 (diff) | |
| download | emacs-4e4dfa78179f9e6d3375c7c0db235111d6137493.tar.gz emacs-4e4dfa78179f9e6d3375c7c0db235111d6137493.zip | |
(Fset_syntax_table): Use new macros for per-buffer
variables.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c index f52812e096e..befa704f5d5 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -721,11 +721,12 @@ One argument, a syntax table.") | |||
| 721 | (table) | 721 | (table) |
| 722 | Lisp_Object table; | 722 | Lisp_Object table; |
| 723 | { | 723 | { |
| 724 | int idx; | ||
| 724 | check_syntax_table (table); | 725 | check_syntax_table (table); |
| 725 | current_buffer->syntax_table = table; | 726 | current_buffer->syntax_table = table; |
| 726 | /* Indicate that this buffer now has a specified syntax table. */ | 727 | /* Indicate that this buffer now has a specified syntax table. */ |
| 727 | current_buffer->local_var_flags | 728 | idx = BUFFER_LOCAL_VAR_IDX (syntax_table); |
| 728 | |= XFASTINT (buffer_local_flags.syntax_table); | 729 | SET_BUFFER_HAS_LOCAL_VALUE_P (current_buffer, idx, 1); |
| 729 | return table; | 730 | return table; |
| 730 | } | 731 | } |
| 731 | 732 | ||