# HG changeset patch # User Karl Heuer # Date 930518491 0 # Node ID 38f43c2c5afa14e0215832e9c2e563f6e6b6e922 # Parent 90ebac7a85b5877ce39dc6677fd14d84fa95ec1f (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. diff -r 90ebac7a85b5 -r 38f43c2c5afa src/keyboard.c --- 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; }