Mercurial > emacs
diff src/macmenu.c @ 73787:497b9d9c1774
(Fmenu_or_popup_active_p): Define outside HAVE_MENUS.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Mon, 06 Nov 2006 16:47:07 +0000 |
| parents | 124599cd087e |
| children | 531d6c96fc70 02cf29720f31 |
line wrap: on
line diff
--- a/src/macmenu.c Mon Nov 06 16:46:53 2006 +0000 +++ b/src/macmenu.c Mon Nov 06 16:47:07 2006 +0000 @@ -1052,17 +1052,6 @@ UNBLOCK_INPUT; } -/* The following is used by delayed window autoselection. */ - -DEFUN ("menu-or-popup-active-p", Fmenu_or_popup_active_p, Smenu_or_popup_active_p, 0, 0, 0, - doc: /* Return t if a menu or popup dialog is active. */) - () -{ - /* Always return Qnil since menu selection functions do not return - until a selection has been made or cancelled. */ - return Qnil; -} - /* Find the menu selection and store it in the keyboard buffer. F is the frame the menu is on. MENU_BAR_ITEMS_USED is the length of VECTOR. @@ -2653,6 +2642,17 @@ } #endif /* HAVE_MENUS */ + +/* The following is used by delayed window autoselection. */ + +DEFUN ("menu-or-popup-active-p", Fmenu_or_popup_active_p, Smenu_or_popup_active_p, 0, 0, 0, + doc: /* Return t if a menu or popup dialog is active. */) + () +{ + /* Always return Qnil since menu selection functions do not return + until a selection has been made or cancelled. */ + return Qnil; +} void syms_of_macmenu ()
