aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index ac70062a79b..4f6a4414a04 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3095,7 +3095,14 @@ read_char (int commandflag, Lisp_Object map,
3095 3095
3096 cancel_echoing (); 3096 cancel_echoing ();
3097 ok_to_echo_at_next_pause = saved_ok_to_echo; 3097 ok_to_echo_at_next_pause = saved_ok_to_echo;
3098 kset_echo_string (current_kboard, saved_echo_string); 3098 /* Do not restore the echo area string when the user is
3099 introducing a prefix argument. Otherwise we end with
3100 repetitions of the partially introduced prefix
3101 argument. (bug#19875) */
3102 if (NILP (intern ("prefix-arg")))
3103 {
3104 kset_echo_string (current_kboard, saved_echo_string);
3105 }
3099 current_kboard->echo_after_prompt = saved_echo_after_prompt; 3106 current_kboard->echo_after_prompt = saved_echo_after_prompt;
3100 if (saved_immediate_echo) 3107 if (saved_immediate_echo)
3101 echo_now (); 3108 echo_now ();