diff src/event-stream.c @ 3358:859bd40269e5

[xemacs-hg @ 2006-04-24 16:09:58 by james] Copy the console when copying command builders. Fixes an assertion failure when menu-accelerator-enabled is 'menu-force. See the bug report in xemacs-beta message <4449351B.3020105@google.com> and the patch in xemacs-patches message <m3psj9yoiq.fsf@jerrypc.cs.usu.edu>.
author james
date Mon, 24 Apr 2006 16:10:01 +0000
parents d674024a8674
children 383ab474a241
line wrap: on
line diff
--- a/src/event-stream.c	Sun Apr 23 21:51:28 2006 +0000
+++ b/src/event-stream.c	Mon Apr 24 16:10:01 2006 +0000
@@ -429,6 +429,8 @@
   if (!new_buildings)
     new_buildings = XCOMMAND_BUILDER (allocate_command_builder (Qnil, 0));
 
+  new_buildings->console = collapsing->console;
+
   new_buildings->self_insert_countdown = collapsing->self_insert_countdown;
 
   deallocate_event_chain (new_buildings->current_events);