From: Karl Heuer Date: Sun, 27 Jun 1999 21:21:31 +0000 (+0000) Subject: (read_key_sequence): Properly reinitialize X-Git-Tag: emacs-20.4~60 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3bd0dffb71879e22921a7a9f2796bf9586123d42;p=emacs.git (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 --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; }