diff options
| author | Stefan Monnier | 2013-11-28 20:22:40 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-11-28 20:22:40 -0500 |
| commit | 7cdf484be3f4408b2bdf58db5bd4ae896cf262e5 (patch) | |
| tree | 3ee6b7c62a3385518f09e5ade6a879bd1b41f53c /src/fns.c | |
| parent | ef869611180c862f67ef1e004553668523615d37 (diff) | |
| download | emacs-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/fns.c')
| -rw-r--r-- | src/fns.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -35,11 +35,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 35 | #include "frame.h" | 35 | #include "frame.h" |
| 36 | #include "window.h" | 36 | #include "window.h" |
| 37 | #include "blockinput.h" | 37 | #include "blockinput.h" |
| 38 | #ifdef HAVE_MENUS | ||
| 39 | #if defined (HAVE_X_WINDOWS) | 38 | #if defined (HAVE_X_WINDOWS) |
| 40 | #include "xterm.h" | 39 | #include "xterm.h" |
| 41 | #endif | 40 | #endif |
| 42 | #endif /* HAVE_MENUS */ | ||
| 43 | 41 | ||
| 44 | Lisp_Object Qstring_lessp; | 42 | Lisp_Object Qstring_lessp; |
| 45 | static Lisp_Object Qprovide, Qrequire; | 43 | static Lisp_Object Qprovide, Qrequire; |
| @@ -2416,7 +2414,6 @@ if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */) | |||
| 2416 | 2414 | ||
| 2417 | CHECK_STRING (prompt); | 2415 | CHECK_STRING (prompt); |
| 2418 | 2416 | ||
| 2419 | #ifdef HAVE_MENUS | ||
| 2420 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) | 2417 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) |
| 2421 | && use_dialog_box) | 2418 | && use_dialog_box) |
| 2422 | { | 2419 | { |
| @@ -2430,7 +2427,6 @@ if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */) | |||
| 2430 | UNGCPRO; | 2427 | UNGCPRO; |
| 2431 | return obj; | 2428 | return obj; |
| 2432 | } | 2429 | } |
| 2433 | #endif /* HAVE_MENUS */ | ||
| 2434 | 2430 | ||
| 2435 | args[0] = prompt; | 2431 | args[0] = prompt; |
| 2436 | args[1] = build_string ("(yes or no) "); | 2432 | args[1] = build_string ("(yes or no) "); |