Commit 330cf232 authored by Karl Heuer's avatar Karl Heuer

(Fsyntax_table_p, describe_syntax): Use type test macros.

parent 914e81a2
......@@ -111,7 +111,7 @@ Any vector of 256 elements will do.")
(obj)
Lisp_Object obj;
{
if (XTYPE (obj) == Lisp_Vector && XVECTOR (obj)->size == 0400)
if (VECTORP (obj) && XVECTOR (obj)->size == 0400)
return Qt;
return Qnil;
}
......@@ -355,7 +355,7 @@ describe_syntax (value)
Findent_to (make_number (16), make_number (1));
if (XTYPE (value) != Lisp_Int)
if (!INTEGERP (value))
{
insert_string ("invalid");
return;
......
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