diff options
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index b2c7fb5f073..cdc63cbaa96 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -2440,11 +2440,7 @@ DEFUN ("menu-or-popup-active-p", Fmenu_or_popup_active_p, Smenu_or_popup_active_ | |||
| 2440 | doc: /* Return t if a menu or popup dialog is active. */) | 2440 | doc: /* Return t if a menu or popup dialog is active. */) |
| 2441 | (void) | 2441 | (void) |
| 2442 | { | 2442 | { |
| 2443 | #ifdef HAVE_MENUS | ||
| 2444 | return (popup_activated ()) ? Qt : Qnil; | 2443 | return (popup_activated ()) ? Qt : Qnil; |
| 2445 | #else | ||
| 2446 | return Qnil; | ||
| 2447 | #endif /* HAVE_MENUS */ | ||
| 2448 | } | 2444 | } |
| 2449 | 2445 | ||
| 2450 | void | 2446 | void |