HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
999b32f
)
(Fset_syntax_table): Use new macros for per-buffer
author
Gerd Moellmann
<gerd@gnu.org>
Sun, 26 Mar 2000 14:06:41 +0000
(14:06 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Sun, 26 Mar 2000 14:06:41 +0000
(14:06 +0000)
variables.
src/syntax.c
patch
|
blob
|
blame
|
history
diff --git
a/src/syntax.c
b/src/syntax.c
index
f52812e
..
befa704
100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-721,11
+721,12
@@
One argument, a syntax table.")
(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. */
- current_buffer->local_var_flags
-
|= 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;
}
\f