changeset 76495:761ce1f9a012

(read_key_sequence): Store original event into keybuf when replaying sequence with local keymap(s) from string.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 17 Mar 2007 18:26:21 +0000
parents f0a25b5d3ba0
children 5002608f229e
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Mar 17 18:24:46 2007 +0000
+++ b/src/keyboard.c	Sat Mar 17 18:26:21 2007 +0000
@@ -9403,6 +9403,8 @@
 		      if (!NILP (map) || !NILP (map2))
 			{
 			  from_string = string;
+			  keybuf[t++] = key;
+			  mock_input = t;
 			  goto replay_sequence;
 			}
 		    }