/[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.271 by jhd, Sun Nov 14 10:59:31 2004 UTC revision 1.272 by jhd, Tue Nov 16 20:52:32 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    
 /* Return non-zero if a dialog or popup menu is already popped up.  */  
   
 int  
 x_menu_in_use ()  
 {  
   return ! NILP (menu_items_inuse);  
 }  
   
1121  /* Set menu_items_inuse so no other popup menu or dialog is created.  */  /* Set menu_items_inuse so no other popup menu or dialog is created.  */
1122    
1123  void  void
# Line 1133  x_menu_set_in_use (in_use) Line 1125  x_menu_set_in_use (in_use)
1125       int in_use;       int in_use;
1126  {  {
1127    menu_items_inuse = in_use ? Qt : Qnil;    menu_items_inuse = in_use ? Qt : Qnil;
1128      popup_activated_flag = in_use;
1129  }  }
1130    
1131  /* 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.  */

Legend:
Removed from v.1.271  
changed lines
  Added in v.1.272

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