diff options
| author | Richard M. Stallman | 1995-07-02 09:38:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-07-02 09:38:15 +0000 |
| commit | 017c7cb6d2ca674e66569d1f591ecdefc6fd37ab (patch) | |
| tree | fb259ab9825feb6065e39a324736d9f51e25de5f /src | |
| parent | e20d641f6120a3cbdfa68e0aae43e4e8380aed2b (diff) | |
| download | emacs-017c7cb6d2ca674e66569d1f591ecdefc6fd37ab.tar.gz emacs-017c7cb6d2ca674e66569d1f591ecdefc6fd37ab.zip | |
(read_char): Temporarily clear Vquit_flag
while checking Vspecial_event_map.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 7428fc3c287..9a6b7cf667d 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1649,7 +1649,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 1649 | jmp_buf local_getcjmp; | 1649 | jmp_buf local_getcjmp; |
| 1650 | jmp_buf save_jump; | 1650 | jmp_buf save_jump; |
| 1651 | int key_already_recorded = 0; | 1651 | int key_already_recorded = 0; |
| 1652 | Lisp_Object tem; | 1652 | Lisp_Object tem, save; |
| 1653 | Lisp_Object also_record; | 1653 | Lisp_Object also_record; |
| 1654 | also_record = Qnil; | 1654 | also_record = Qnil; |
| 1655 | 1655 | ||
| @@ -2028,8 +2028,11 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 2028 | 2028 | ||
| 2029 | /* Process special events within read_char | 2029 | /* Process special events within read_char |
| 2030 | and loop around to read another event. */ | 2030 | and loop around to read another event. */ |
| 2031 | save = Vquit_flag; | ||
| 2032 | Vquit_flag = Qnil; | ||
| 2031 | tem = get_keyelt (access_keymap (get_keymap_1 (Vspecial_event_map, 0, 0), | 2033 | tem = get_keyelt (access_keymap (get_keymap_1 (Vspecial_event_map, 0, 0), |
| 2032 | c, 0, 0), 1); | 2034 | c, 0, 0), 1); |
| 2035 | Vquit_flag = save; | ||
| 2033 | 2036 | ||
| 2034 | if (!NILP (tem)) | 2037 | if (!NILP (tem)) |
| 2035 | { | 2038 | { |