aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 31c82b2063b..60916705c97 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -326,11 +326,11 @@ Whichever character you type to run this command is inserted. */)
326 CHECK_NUMBER (n); 326 CHECK_NUMBER (n);
327 327
328 /* Barf if the key that invoked this was not a character. */ 328 /* Barf if the key that invoked this was not a character. */
329 if (!CHARACTERP (last_command_char)) 329 if (!CHARACTERP (last_command_event))
330 bitch_at_user (); 330 bitch_at_user ();
331 { 331 {
332 int character = translate_char (Vtranslation_table_for_input, 332 int character = translate_char (Vtranslation_table_for_input,
333 XINT (last_command_char)); 333 XINT (last_command_event));
334 if (XINT (n) >= 2 && NILP (current_buffer->overwrite_mode)) 334 if (XINT (n) >= 2 && NILP (current_buffer->overwrite_mode))
335 { 335 {
336 int modified_char = character; 336 int modified_char = character;