changeset 10930:4dce98da5f8d

(command_loop_1): Fix test for prefix arg.
author Karl Heuer <kwzh@gnu.org>
date Tue, 07 Mar 1995 04:57:02 +0000
parents 8102a6447ea0
children 933a04abe0ac
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon Mar 06 19:55:47 1995 +0000
+++ b/src/keyboard.c	Tue Mar 07 04:57:02 1995 +0000
@@ -1371,7 +1371,7 @@
 	 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 @@
     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