aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2007-03-17 18:26:21 +0000
committerChong Yidong2007-03-17 18:26:21 +0000
commit329492668fdcf061be2988434bc63c1ac735da14 (patch)
tree6437655fb8fd6de6de0b4f81d6d34fbe9e6a60a3 /src
parent29ed4d512ba9e73343523528f99c1f6dc3d27e94 (diff)
downloademacs-329492668fdcf061be2988434bc63c1ac735da14.tar.gz
emacs-329492668fdcf061be2988434bc63c1ac735da14.zip
(read_key_sequence): Store original event into keybuf when replaying
sequence with local keymap(s) from string.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 2 insertions, 0 deletions
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,
9403 if (!NILP (map) || !NILP (map2)) 9403 if (!NILP (map) || !NILP (map2))
9404 { 9404 {
9405 from_string = string; 9405 from_string = string;
9406 keybuf[t++] = key;
9407 mock_input = t;
9406 goto replay_sequence; 9408 goto replay_sequence;
9407 } 9409 }
9408 } 9410 }