From c4288b3aed0c42bca4cbcb316dcfaf5bd9607012 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 7 Mar 1995 04:57:02 +0000 Subject: [PATCH] (command_loop_1): Fix test for prefix arg. --- src/keyboard.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index c65f92179eb..b8c653b8fd7 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1371,7 +1371,7 @@ command_loop_1 () 3) we want to leave this_command_key_count non-zero, so that read_char will realize that it is re-reading a character, and not echo it a second time. */ - if (NILP (Vprefix_arg)) + if (NILP (Vprefix_arg) && !current_perdisplay->prefix_partial) { last_command = this_command; cancel_echoing (); @@ -1392,7 +1392,8 @@ command_loop_1 () finalize: /* Install chars successfully executed in kbd macro. */ - if (!NILP (current_perdisplay->defining_kbd_macro) && NILP (Vprefix_arg)) + if (!NILP (current_perdisplay->defining_kbd_macro) && NILP (Vprefix_arg) + && !current_perdisplay->prefix_partial) finalize_kbd_macro_chars (); #ifdef MULTI_PERDISPLAY -- 2.39.5