/[emacs]/emacs/src/xmenu.c
ViewVC logotype

Diff of /emacs/src/xmenu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.268 by jhd, Sat Nov 13 20:18:21 2004 UTC revision 1.269 by jhd, Sat Nov 13 23:29:11 2004 UTC
# Line 1118  on the left of the dialog box and all fo Line 1118  on the left of the dialog box and all fo
1118    
1119  #ifndef MSDOS  #ifndef MSDOS
1120    
1121    /* Return non-zero if a dialog or popup menu is already popped up.  */
1122    
1123    int
1124    x_menu_in_use ()
1125    {
1126      return ! NILP (menu_items_inuse);
1127    }
1128    
1129    /* Set menu_items_inuse so no other popup menu or dialog is created.  */
1130    
1131    void
1132    x_menu_set_in_use (in_use)
1133         int in_use;
1134    {
1135      menu_items_inuse = in_use ? Qt : Qnil;
1136    }
1137    
1138  /* Wait for an X event to arrive or for a timer to expire.  */  /* Wait for an X event to arrive or for a timer to expire.  */
1139    
1140  static void  void
1141  x_menu_wait_for_event (void *data)  x_menu_wait_for_event (void *data)
1142  {  {
1143    extern EMACS_TIME timer_check P_ ((int));    extern EMACS_TIME timer_check P_ ((int));

Legend:
Removed from v.1.268  
changed lines
  Added in v.1.269

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26