diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-11-28 20:22:40 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-11-28 20:22:40 -0500 |
commit | 7cdf484be3f4408b2bdf58db5bd4ae896cf262e5 (patch) | |
tree | 3ee6b7c62a3385518f09e5ade6a879bd1b41f53c /src/fns.c | |
parent | ef869611180c862f67ef1e004553668523615d37 (diff) | |
download | emacs-7cdf484be3f4408b2bdf58db5bd4ae896cf262e5.tar.gz |
* 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/fns.c')
-rw-r--r-- | src/fns.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fns.c b/src/fns.c index 93829fb1d62..4c3bde1add9 100644 --- a/src/fns.c +++ b/src/fns.c @@ -35,11 +35,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "frame.h" #include "window.h" #include "blockinput.h" -#ifdef HAVE_MENUS #if defined (HAVE_X_WINDOWS) #include "xterm.h" #endif -#endif /* HAVE_MENUS */ Lisp_Object Qstring_lessp; static Lisp_Object Qprovide, Qrequire; @@ -2416,7 +2414,6 @@ if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */) CHECK_STRING (prompt); -#ifdef HAVE_MENUS if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) && use_dialog_box) { @@ -2430,7 +2427,6 @@ if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */) UNGCPRO; return obj; } -#endif /* HAVE_MENUS */ args[0] = prompt; args[1] = build_string ("(yes or no) "); |