diff src/event-stream.c @ 707:a307f9a2021d

[xemacs-hg @ 2001-12-20 05:49:28 by andyp] sync with 21-4-6-windows
author andyp
date Thu, 20 Dec 2001 05:49:48 +0000
parents fdefd0186b75
children b1f74adcc1ff
line wrap: on
line diff
--- a/src/event-stream.c	Wed Dec 19 00:40:26 2001 +0000
+++ b/src/event-stream.c	Thu Dec 20 05:49:48 2001 +0000
@@ -4290,6 +4290,7 @@
   struct gcpro gcpro1;
   GCPRO1 (event);
 
+  record_unwind_protect (Fset_buffer, Fcurrent_buffer ());
   if (!NILP (prompt))
     CHECK_STRING (prompt);
   /* else prompt = Fkeymap_prompt (current_buffer->keymap); may GC */