aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2007-03-17 18:26:21 +0000
committerChong Yidong <[email protected]>2007-03-17 18:26:21 +0000
commit329492668fdcf061be2988434bc63c1ac735da14 (patch)
tree6437655fb8fd6de6de0b4f81d6d34fbe9e6a60a3 /src/keyboard.c
parent29ed4d512ba9e73343523528f99c1f6dc3d27e94 (diff)
(read_key_sequence): Store original event into keybuf when replaying
sequence with local keymap(s) from string.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 2e94c3cd2f..34fc9f6aea 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;
}
}