]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fsyntax_table_p, describe_syntax): Use type test macros.
authorKarl Heuer <kwzh@gnu.org>
Tue, 27 Sep 1994 01:20:25 +0000 (01:20 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 27 Sep 1994 01:20:25 +0000 (01:20 +0000)
src/syntax.c

index 1aba174f7bb16dc713dc8242fd11cff3d9228c93..14187b1d8cd4ed7046bde8c9d83abda287399c54 100644 (file)
@@ -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;