Commit a31e445e authored by Glenn Morris's avatar Glenn Morris

Update for last_command_char rename.

parent d293848d
......@@ -326,11 +326,11 @@ Whichever character you type to run this command is inserted. */)
CHECK_NUMBER (n);
/* Barf if the key that invoked this was not a character. */
if (!CHARACTERP (last_command_char))
if (!CHARACTERP (last_command_event))
bitch_at_user ();
{
int character = translate_char (Vtranslation_table_for_input,
XINT (last_command_char));
XINT (last_command_event));
if (XINT (n) >= 2 && NILP (current_buffer->overwrite_mode))
{
int modified_char = character;
......
......@@ -45,10 +45,10 @@ extern Lisp_Object Vminibuffer_local_must_match_map;
and require a match */
extern Lisp_Object Vminibuffer_local_filename_must_match_map;
/* Last character of last key sequence. */
extern Lisp_Object last_command_char;
/* Last input event read as a command. */
extern Lisp_Object last_command_event;
/* Last input character read as a command, not counting menus
/* Last input event read as a command, not counting menus
reached by the mouse. */
extern Lisp_Object last_nonmenu_event;
......
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