Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4e4dfa78
Commit
4e4dfa78
authored
Mar 26, 2000
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fset_syntax_table): Use new macros for per-buffer
variables.
parent
999b32fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/syntax.c
src/syntax.c
+3
-2
No files found.
src/syntax.c
View file @
4e4dfa78
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment