Commit 774b9a60 authored by Stefan Monnier's avatar Stefan Monnier

* syntax.c (Fchar_syntax): Check the arg is a character.

Fixes: debbugs:6080
parent 4ab92842
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.
......
......@@ -858,7 +858,7 @@ are listed in the documentation of `modify-syntax-entry'. */)
Lisp_Object character;
{
int char_int;
CHECK_NUMBER (character);
CHECK_CHARACTER (character);
char_int = XINT (character);
SETUP_BUFFER_SYNTAX_TABLE ();
return make_number (syntax_code_spec[(int) SYNTAX (char_int)]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment