(Fself_insert_command): Use type test macros.
authorKarl Heuer <kwzh@gnu.org>
Tue, 27 Sep 1994 03:08:20 +0000 (03:08 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 27 Sep 1994 03:08:20 +0000 (03:08 +0000)
src/cmds.c

index 49998ad..9b4341f 100644 (file)
@@ -217,7 +217,7 @@ Whichever character you type to run this command is inserted.")
   CHECK_NUMBER (arg, 0);
 
   /* Barf if the key that invoked this was not a character.  */
-  if (XTYPE (last_command_char) != Lisp_Int)
+  if (!INTEGERP (last_command_char))
     bitch_at_user ();
   else
     while (XINT (arg) > 0)