changeset 24889:38f43c2c5afa

(read_key_sequence): Properly reinitialize fkey_map after translating thru Vkey_translation_map. After translating thru Vfunction_key_map, don't reset keytrans-start to 0.
author Karl Heuer <kwzh@gnu.org>
date Sun, 27 Jun 1999 21:21:31 +0000
parents 90ebac7a85b5
children 5f37b93c8538
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Fri Jun 25 00:43:53 1999 +0000
+++ b/src/keyboard.c	Sun Jun 27 21:21:31 1999 +0000
@@ -7490,8 +7490,10 @@
 		  fkey_start = fkey_end = t;
 		  fkey_map = Vfunction_key_map;
 
-		  /* Do pass the results through key-translation-map.  */
-		  keytran_start = keytran_end = 0;
+		  /* Do pass the results through key-translation-map.
+		     But don't retranslate what key-translation-map
+		     has already translated.  */
+		  keytran_end = keytran_start;
 		  keytran_map = Vkey_translation_map;
 
 		  goto replay_sequence;
@@ -7607,7 +7609,7 @@
 		/* Don't pass the results of key-translation-map
 		   through function-key-map.  */
 		fkey_start = fkey_end = t;
-		fkey_map = Vkey_translation_map;
+		fkey_map = Vfunction_key_map;
 
 		goto replay_sequence;
 	      }