diff options
author | Karl Heuer <kwzh@gnu.org> | 1999-06-27 21:21:31 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1999-06-27 21:21:31 +0000 |
commit | 3bd0dffb71879e22921a7a9f2796bf9586123d42 (patch) | |
tree | 3ec7421b6ccbb31678a4f940c4b3437543d83e08 /src | |
parent | f5c525cdceb25497b711ad839871ea37b99d2815 (diff) | |
download | emacs-3bd0dffb71879e22921a7a9f2796bf9586123d42.tar.gz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index b1a41d106a4..78860dd6496 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7490,8 +7490,10 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, 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 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, /* 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; } |