aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32menu.c
diff options
context:
space:
mode:
authorStefan Monnier2013-11-28 20:22:40 -0500
committerStefan Monnier2013-11-28 20:22:40 -0500
commit7cdf484be3f4408b2bdf58db5bd4ae896cf262e5 (patch)
tree3ee6b7c62a3385518f09e5ade6a879bd1b41f53c /src/w32menu.c
parentef869611180c862f67ef1e004553668523615d37 (diff)
downloademacs-7cdf484be3f4408b2bdf58db5bd4ae896cf262e5.tar.gz
emacs-7cdf484be3f4408b2bdf58db5bd4ae896cf262e5.zip
* configure.ac (HAVE_MENUS): Remove.
* src/xmenu.c (Fmenu_or_popup_active_p): * src/window.c (Fset_window_configuration): * src/menu.c (Fx_popup_menu, Fx_popup_dialog): * src/keyboard.c (record_menu_key, read_char_x_menu_prompt): * src/fns.c (Fyes_or_no_p): * src/editfns.c (Fmessage_box, Fmessage_or_box): * src/alloc.c (make_save_ptr_ptr): * src/xdisp.c, src/w32menu.c, src/term.c, src/xterm.h, src/xterm.c: Remove HAVE_MENUS.
Diffstat (limited to 'src/w32menu.c')
-rw-r--r--src/w32menu.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/w32menu.c b/src/w32menu.c
index b25652017cd..b846a3f999c 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -114,7 +114,6 @@ static int fill_in_menu (HMENU, widget_value *);
114 114
115void w32_free_menu_strings (HWND); 115void w32_free_menu_strings (HWND);
116 116
117#ifdef HAVE_MENUS
118#ifdef HAVE_DIALOGS 117#ifdef HAVE_DIALOGS
119Lisp_Object 118Lisp_Object
120w32_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) 119w32_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents)
@@ -1602,21 +1601,15 @@ w32_free_menu_strings (HWND hwnd)
1602 current_popup_menu = NULL; 1601 current_popup_menu = NULL;
1603} 1602}
1604 1603
1605#endif /* HAVE_MENUS */
1606
1607/* The following is used by delayed window autoselection. */ 1604/* The following is used by delayed window autoselection. */
1608 1605
1609DEFUN ("menu-or-popup-active-p", Fmenu_or_popup_active_p, Smenu_or_popup_active_p, 0, 0, 0, 1606DEFUN ("menu-or-popup-active-p", Fmenu_or_popup_active_p, Smenu_or_popup_active_p, 0, 0, 0,
1610 doc: /* Return t if a menu or popup dialog is active on selected frame. */) 1607 doc: /* Return t if a menu or popup dialog is active on selected frame. */)
1611 (void) 1608 (void)
1612{ 1609{
1613#ifdef HAVE_MENUS
1614 struct frame *f; 1610 struct frame *f;
1615 f = SELECTED_FRAME (); 1611 f = SELECTED_FRAME ();
1616 return (f->output_data.w32->menubar_active > 0) ? Qt : Qnil; 1612 return (f->output_data.w32->menubar_active > 0) ? Qt : Qnil;
1617#else
1618 return Qnil;
1619#endif /* HAVE_MENUS */
1620} 1613}
1621 1614
1622void 1615void