From: Chong Yidong Date: Sat, 17 Mar 2007 18:26:21 +0000 (+0000) Subject: (read_key_sequence): Store original event into keybuf when replaying X-Git-Tag: emacs-pretest-22.0.96~112 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=329492668fdcf061be2988434bc63c1ac735da14;p=emacs.git (read_key_sequence): Store original event into keybuf when replaying sequence with local keymap(s) from string. --- 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; } }