[PATCH 21.5] XEmacs crashes with menu-accelerator-enabled followed by Shift-spacebar

Jerry James james at xemacs.org
Sat Apr 22 23:11:25 EDT 2006


PATCH 21.5

Further investigation showed that it was only the console slot that
wasn't being copied and should have.  This fixes the problem for me.
Doug, can you give this patch a try?

src/ChangeLog addition:

2006-04-22  Jerry James  <james at xemacs.org>

	* event-stream.c (copy_command_builder): Also copy the console.


xemacs-21.5 source patch:
Diff command:   cvs -q diff -uN
Files affected: src/event-stream.c

Index: src/event-stream.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/event-stream.c,v
retrieving revision 1.93
diff -d -u -r1.93 event-stream.c
--- src/event-stream.c	2006/02/27 16:29:24	1.93
+++ src/event-stream.c	2006/04/23 03:05:24
@@ -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);

-- 
Jerry James, Assistant Professor        james at xemacs.org
Computer Science Department             http://www.cs.usu.edu/~jerry/
Utah State University




More information about the XEmacs-Beta mailing list