changeset 12476:5518def44198

(read_char): Temporarily clear Vquit_flag while checking Vspecial_event_map.
author Richard M. Stallman <rms@gnu.org>
date Sun, 02 Jul 1995 09:38:15 +0000
parents eb436b0c4ab3
children 8b884d5e7b6a
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sun Jul 02 08:34:02 1995 +0000
+++ b/src/keyboard.c	Sun Jul 02 09:38:15 1995 +0000
@@ -1649,7 +1649,7 @@
   jmp_buf local_getcjmp;
   jmp_buf save_jump;
   int key_already_recorded = 0;
-  Lisp_Object tem;
+  Lisp_Object tem, save;
   Lisp_Object also_record;
   also_record = Qnil;
 
@@ -2028,8 +2028,11 @@
 
   /* Process special events within read_char
      and loop around to read another event.  */
+  save = Vquit_flag;
+  Vquit_flag = Qnil;
   tem = get_keyelt (access_keymap (get_keymap_1 (Vspecial_event_map, 0, 0),
 				   c, 0, 0), 1);
+  Vquit_flag = save;
 
   if (!NILP (tem))
     {