Commit 51d5a2c9 authored by Richard M. Stallman's avatar Richard M. Stallman

(command_loop_1): On entry, set this_command

after running Vpost_command_hook.
parent 43224042
......@@ -908,7 +908,6 @@ command_loop_1 ()
nonundocount = 0;
no_redisplay = 0;
this_command_key_count = 0;
last_command = this_command;
/* Make sure this hook runs after commands that get errors and
throw to top level. */
......@@ -924,6 +923,9 @@ command_loop_1 ()
Vpost_command_hook = Vcommand_hook_internal;
}
/* Do this after running Vpost_command_hook, for consistency. */
last_command = this_command;
while (1)
{
/* Install chars successfully executed in kbd macro. */
......
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