emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xmenu.c


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/src/xmenu.c
Date: Thu, 04 Nov 2004 05:03:13 -0500

Index: emacs/src/xmenu.c
diff -c emacs/src/xmenu.c:1.261 emacs/src/xmenu.c:1.262
*** emacs/src/xmenu.c:1.261     Sun Oct 31 15:29:04 2004
--- emacs/src/xmenu.c   Thu Nov  4 09:57:37 2004
***************
*** 1120,1128 ****
     popped down (deactivated).  This is used for x-popup-menu
     and x-popup-dialog; it is not used for the menu bar.
  
-    If DO_TIMERS is nonzero, run timers.
     If DOWN_ON_KEYPRESS is nonzero, pop down if a key is pressed.
  
     NOTE: All calls to popup_get_selection should be protected
     with BLOCK_INPUT, UNBLOCK_INPUT wrappers.  */
  
--- 1120,1132 ----
     popped down (deactivated).  This is used for x-popup-menu
     and x-popup-dialog; it is not used for the menu bar.
  
     If DOWN_ON_KEYPRESS is nonzero, pop down if a key is pressed.
  
+    This function used to have a DO_TIMERS argument which was
+    1 in the dialog case, and caused it to run Lisp-level timers.
+    That was unsafe so we removed it, but does anyone remember
+    why menus and dialogs were treated differently?
+ 
     NOTE: All calls to popup_get_selection should be protected
     with BLOCK_INPUT, UNBLOCK_INPUT wrappers.  */
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]