Commit 0b7d6b02 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix echo for "C-u"

* src/keyboard.c (command_loop_1): Undo last change.  It caused
duplicate echo of C-u.  (Bug#22107)
parent 83114ccf
......@@ -1486,14 +1486,11 @@ command_loop_1 (void)
if (!CONSP (last_command_event))
kset_last_repeatable_command (current_kboard, Vreal_this_command);
/* Don't reset this_command_key_count if we've processed
prefix-arg. */
if (NILP (call0 (Qinternal_echo_keystrokes_prefix)))
{
this_command_key_count = 0;
this_single_command_key_start = 0;
}
else if (current_kboard->immediate_echo)
this_command_key_count = 0;
this_single_command_key_start = 0;
if (current_kboard->immediate_echo
&& !NILP (call0 (Qinternal_echo_keystrokes_prefix)))
{
current_kboard->immediate_echo = false;
/* Refresh the echo message. */
......
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