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
774b9a60
Commit
774b9a60
authored
May 05, 2010
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* syntax.c (Fchar_syntax): Check the arg is a character.
Fixes: debbugs:6080
parent
4ab92842
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/syntax.c
src/syntax.c
+1
-1
No files found.
src/ChangeLog
View file @
774b9a60
2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
* syntax.c (Fchar_syntax): Check the arg is a character (bug#6080).
2010-05-05 Lawrence Mitchell <wence@gmx.li>
* m/sparc.h: Fix typo in earlier change.
...
...
src/syntax.c
View file @
774b9a60
...
...
@@ -858,7 +858,7 @@ are listed in the documentation of `modify-syntax-entry'. */)
Lisp_Object
character
;
{
int
char_int
;
CHECK_
NUMB
ER
(
character
);
CHECK_
CHARACT
ER
(
character
);
char_int
=
XINT
(
character
);
SETUP_BUFFER_SYNTAX_TABLE
();
return
make_number
(
syntax_code_spec
[(
int
)
SYNTAX
(
char_int
)]);
...
...
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