aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 49998adbf50..9b4341fb98d 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -217,7 +217,7 @@ Whichever character you type to run this command is inserted.")
217 CHECK_NUMBER (arg, 0); 217 CHECK_NUMBER (arg, 0);
218 218
219 /* Barf if the key that invoked this was not a character. */ 219 /* Barf if the key that invoked this was not a character. */
220 if (XTYPE (last_command_char) != Lisp_Int) 220 if (!INTEGERP (last_command_char))
221 bitch_at_user (); 221 bitch_at_user ();
222 else 222 else
223 while (XINT (arg) > 0) 223 while (XINT (arg) > 0)