diff options
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index bee91c6b5cf..656634b8d31 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -3001,7 +3001,7 @@ read_char (int commandflag, ptrdiff_t nmaps, Lisp_Object *maps, | |||
| 3001 | { | 3001 | { |
| 3002 | Lisp_Object keys; | 3002 | Lisp_Object keys; |
| 3003 | int key_count, key_count_reset; | 3003 | int key_count, key_count_reset; |
| 3004 | struct gcpro inner_gcpro1; | 3004 | struct gcpro gcpro1; |
| 3005 | int count = SPECPDL_INDEX (); | 3005 | int count = SPECPDL_INDEX (); |
| 3006 | 3006 | ||
| 3007 | /* Save the echo status. */ | 3007 | /* Save the echo status. */ |
| @@ -3029,7 +3029,7 @@ read_char (int commandflag, ptrdiff_t nmaps, Lisp_Object *maps, | |||
| 3029 | keys = Fcopy_sequence (this_command_keys); | 3029 | keys = Fcopy_sequence (this_command_keys); |
| 3030 | else | 3030 | else |
| 3031 | keys = Qnil; | 3031 | keys = Qnil; |
| 3032 | GCPRO1_VAR (keys, inner_gcpro); | 3032 | GCPRO1 (keys); |
| 3033 | 3033 | ||
| 3034 | /* Clear out this_command_keys. */ | 3034 | /* Clear out this_command_keys. */ |
| 3035 | this_command_key_count = 0; | 3035 | this_command_key_count = 0; |
| @@ -3067,7 +3067,7 @@ read_char (int commandflag, ptrdiff_t nmaps, Lisp_Object *maps, | |||
| 3067 | if (saved_immediate_echo) | 3067 | if (saved_immediate_echo) |
| 3068 | echo_now (); | 3068 | echo_now (); |
| 3069 | 3069 | ||
| 3070 | UNGCPRO_VAR (inner_gcpro); | 3070 | UNGCPRO; |
| 3071 | 3071 | ||
| 3072 | /* The input method can return no events. */ | 3072 | /* The input method can return no events. */ |
| 3073 | if (! CONSP (tem)) | 3073 | if (! CONSP (tem)) |
| @@ -9069,9 +9069,9 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, | |||
| 9069 | int junk; | 9069 | int junk; |
| 9070 | #endif | 9070 | #endif |
| 9071 | 9071 | ||
| 9072 | struct gcpro outer_gcpro1; | 9072 | struct gcpro gcpro1; |
| 9073 | 9073 | ||
| 9074 | GCPRO1_VAR (fake_prefixed_keys, outer_gcpro); | 9074 | GCPRO1 (fake_prefixed_keys); |
| 9075 | raw_keybuf_count = 0; | 9075 | raw_keybuf_count = 0; |
| 9076 | 9076 | ||
| 9077 | last_nonmenu_event = Qnil; | 9077 | last_nonmenu_event = Qnil; |
| @@ -9367,7 +9367,7 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, | |||
| 9367 | if (EQ (key, Qt)) | 9367 | if (EQ (key, Qt)) |
| 9368 | { | 9368 | { |
| 9369 | unbind_to (count, Qnil); | 9369 | unbind_to (count, Qnil); |
| 9370 | UNGCPRO_VAR (outer_gcpro); | 9370 | UNGCPRO; |
| 9371 | return -1; | 9371 | return -1; |
| 9372 | } | 9372 | } |
| 9373 | 9373 | ||
| @@ -10065,7 +10065,7 @@ read_key_sequence (Lisp_Object *keybuf, int bufsize, Lisp_Object prompt, | |||
| 10065 | add_command_key (keybuf[t]); | 10065 | add_command_key (keybuf[t]); |
| 10066 | } | 10066 | } |
| 10067 | 10067 | ||
| 10068 | UNGCPRO_VAR (outer_gcpro); | 10068 | UNGCPRO; |
| 10069 | return t; | 10069 | return t; |
| 10070 | } | 10070 | } |
| 10071 | 10071 | ||
| @@ -10874,7 +10874,7 @@ interrupt_signal (int signalnum) /* If we don't have an argument, some */ | |||
| 10874 | /* If there are no frames there, let's pretend that we are a | 10874 | /* If there are no frames there, let's pretend that we are a |
| 10875 | well-behaving UN*X program and quit. We cannot do that while | 10875 | well-behaving UN*X program and quit. We cannot do that while |
| 10876 | GC is in progress, though. */ | 10876 | GC is in progress, though. */ |
| 10877 | if (!gc_in_progress) | 10877 | if (!gc_in_progress && !waiting_for_input) |
| 10878 | Fkill_emacs (Qnil); | 10878 | Fkill_emacs (Qnil); |
| 10879 | else | 10879 | else |
| 10880 | Vquit_flag = Qt; | 10880 | Vquit_flag = Qt; |