diff options
| author | Jim Blandy | 1992-07-22 21:20:04 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-22 21:20:04 +0000 |
| commit | 067ffa38a5d8f117efb94afa8a2edba3d832ee1a (patch) | |
| tree | 5e0aa111aaea3b87012cdf4a979eb1e3118d3819 /src/keyboard.c | |
| parent | 21800cb80bdd7f1e5e2d3d96828c11ae96ddaed0 (diff) | |
| download | emacs-067ffa38a5d8f117efb94afa8a2edba3d832ee1a.tar.gz emacs-067ffa38a5d8f117efb94afa8a2edba3d832ee1a.zip | |
*** empty log message ***
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 442a4f318ea..ceab36647fd 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -2697,8 +2697,20 @@ read_key_sequence (keybuf, bufsize, prompt) | |||
| 2697 | /* Scan from fkey_end until we find a bound suffix. */ | 2697 | /* Scan from fkey_end until we find a bound suffix. */ |
| 2698 | while (fkey_end < t) | 2698 | while (fkey_end < t) |
| 2699 | { | 2699 | { |
| 2700 | /* Look up meta-characters by prefixing them | ||
| 2701 | with meta_prefix_char. I hate this. */ | ||
| 2702 | if (keybuf[fkey_end++] & 0x80) | ||
| 2703 | fkey_next = | ||
| 2704 | get_keymap_1 (get_keyelt | ||
| 2705 | (access_keymap (fkey_map, meta_prefix_char)), | ||
| 2706 | 0); | ||
| 2707 | else | ||
| 2708 | fkey_next = fkey_map; | ||
| 2709 | |||
| 2700 | fkey_next = | 2710 | fkey_next = |
| 2701 | get_keyelt (access_keymap (fkey_map, keybuf[fkey_end++])); | 2711 | get_keyelt (access_keymap |
| 2712 | (fkey_next, keybuf[(fkey_end++) & 0x7f])); | ||
| 2713 | |||
| 2702 | /* If keybuf[fkey_start..fkey_next] is bound in the | 2714 | /* If keybuf[fkey_start..fkey_next] is bound in the |
| 2703 | function key map and it's a suffix of the current | 2715 | function key map and it's a suffix of the current |
| 2704 | sequence (i.e. fkey_next == t), replace it with | 2716 | sequence (i.e. fkey_next == t), replace it with |