diff options
| author | Dmitry Antipov | 2012-08-13 07:39:07 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-13 07:39:07 +0400 |
| commit | 4c31be6153255dfe29a0231253263ea0d9011ac3 (patch) | |
| tree | cfd30617b9270436aad8cdf810a97721aaa20747 /src/syntax.c | |
| parent | 1439443be63a2b0d796df8ebca882cdaecb7269f (diff) | |
| download | emacs-4c31be6153255dfe29a0231253263ea0d9011ac3.tar.gz emacs-4c31be6153255dfe29a0231253263ea0d9011ac3.zip | |
Use BSET for write access to Lisp_Object members of struct buffer.
* buffer.h (BSET): New macro.
* buffer.c, casetab.c, cmds.c, coding.c, data.c, editfns.c:
* fileio.c, frame.c, indent.c, insdel.c, intervals.c, keymap.c:
* minibuf.c, print.c, process.c, syntax.c, undo.c, w32fns.c:
* window.c, xdisp.c, xfns.c: Adjust users.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index c031c2b07af..08a63e033b2 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -836,7 +836,7 @@ One argument, a syntax table. */) | |||
| 836 | { | 836 | { |
| 837 | int idx; | 837 | int idx; |
| 838 | check_syntax_table (table); | 838 | check_syntax_table (table); |
| 839 | BVAR (current_buffer, syntax_table) = table; | 839 | BSET (current_buffer, syntax_table, table); |
| 840 | /* Indicate that this buffer now has a specified syntax table. */ | 840 | /* Indicate that this buffer now has a specified syntax table. */ |
| 841 | idx = PER_BUFFER_VAR_IDX (syntax_table); | 841 | idx = PER_BUFFER_VAR_IDX (syntax_table); |
| 842 | SET_PER_BUFFER_VALUE_P (current_buffer, idx, 1); | 842 | SET_PER_BUFFER_VALUE_P (current_buffer, idx, 1); |