diff src/gui-msw.c @ 408:501cfd01ee6d r21-2-34

Import from CVS: tag r21-2-34
author cvs
date Mon, 13 Aug 2007 11:18:11 +0200
parents b8cc9ab3f761
children de805c49cfc1
line wrap: on
line diff
--- a/src/gui-msw.c	Mon Aug 13 11:17:10 2007 +0200
+++ b/src/gui-msw.c	Mon Aug 13 11:18:11 2007 +0200
@@ -22,13 +22,13 @@
 
 #include <config.h>
 #include "lisp.h"
+#include "console-msw.h"
 #include "redisplay.h"
 #include "gui.h"
 #include "glyphs.h"
 #include "frame.h"
+#include "elhash.h"
 #include "events.h"
-#include "elhash.h"
-#include "console-msw.h"
 #include "buffer.h"
 
 /*
@@ -84,15 +84,8 @@
 
   mswindows_enqueue_dispatch_event (event);
   /* The result of this evaluation could cause other instances to change so 
-     enqueue an update callback to check this. We also have to make sure that
-     the function does not appear in the command history.
-     #### I'm sure someone can tell me how to optimize this. */
-  mswindows_enqueue_misc_user_event
-    (frame, Qeval, 
-     list3 (Qlet,
-	    list2 (Qthis_command,
-		   Qlast_command),
-	    list2 (Qupdate_widget_instances, frame)));
+     enqueue an update callback to check this. */
+  enqueue_magic_eval_event (update_widget_instances, frame);
   return Qt;
 }