From 329492668fdcf061be2988434bc63c1ac735da14 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 17 Mar 2007 18:26:21 +0000 Subject: [PATCH] (read_key_sequence): Store original event into keybuf when replaying sequence with local keymap(s) from string. --- src/keyboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index 2e94c3cd2fb..34fc9f6aead 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -9403,6 +9403,8 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, if (!NILP (map) || !NILP (map2)) { from_string = string; + keybuf[t++] = key; + mock_input = t; goto replay_sequence; } } -- 2.39.5