]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Store original event into keybuf when replaying
authorChong Yidong <cyd@stupidchicken.com>
Sat, 17 Mar 2007 18:26:21 +0000 (18:26 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 17 Mar 2007 18:26:21 +0000 (18:26 +0000)
sequence with local keymap(s) from string.

src/keyboard.c

index 2e94c3cd2fb49273d3ecfee3d3051cd5a2a8e508..34fc9f6aead516b8a84a2728581e4b99b038c503 100644 (file)
@@ -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;
                        }
                    }