changeset 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 ed7cbe1ad9bc
children af8dab703edc
files src/ChangeLog src/event-stream.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Apr 23 21:51:28 2006 +0000
+++ b/src/ChangeLog	Mon Apr 24 16:10:01 2006 +0000
@@ -1,3 +1,7 @@
+2006-04-22  Jerry James  <james@xemacs.org>
+
+	* event-stream.c (copy_command_builder): Also copy the console.
+
 2006-04-23  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* alloc.c:
--- 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);