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/editfns.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/editfns.c')
| -rw-r--r-- | src/editfns.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/editfns.c b/src/editfns.c index c5267d1e038..8e47d1f82e4 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3473,7 +3473,6 @@ usage: (message-box FORMAT-STRING &rest ARGS) */) | |||
| 3473 | else | 3473 | else |
| 3474 | { | 3474 | { |
| 3475 | Lisp_Object val = Fformat (nargs, args); | 3475 | Lisp_Object val = Fformat (nargs, args); |
| 3476 | #ifdef HAVE_MENUS | ||
| 3477 | Lisp_Object pane, menu; | 3476 | Lisp_Object pane, menu; |
| 3478 | struct gcpro gcpro1; | 3477 | struct gcpro gcpro1; |
| 3479 | 3478 | ||
| @@ -3482,9 +3481,6 @@ usage: (message-box FORMAT-STRING &rest ARGS) */) | |||
| 3482 | menu = Fcons (val, pane); | 3481 | menu = Fcons (val, pane); |
| 3483 | Fx_popup_dialog (Qt, menu, Qt); | 3482 | Fx_popup_dialog (Qt, menu, Qt); |
| 3484 | UNGCPRO; | 3483 | UNGCPRO; |
| 3485 | #else /* !HAVE_MENUS */ | ||
| 3486 | message3 (val); | ||
| 3487 | #endif | ||
| 3488 | return val; | 3484 | return val; |
| 3489 | } | 3485 | } |
| 3490 | } | 3486 | } |
| @@ -3503,11 +3499,9 @@ message; let the minibuffer contents show. | |||
| 3503 | usage: (message-or-box FORMAT-STRING &rest ARGS) */) | 3499 | usage: (message-or-box FORMAT-STRING &rest ARGS) */) |
| 3504 | (ptrdiff_t nargs, Lisp_Object *args) | 3500 | (ptrdiff_t nargs, Lisp_Object *args) |
| 3505 | { | 3501 | { |
| 3506 | #ifdef HAVE_MENUS | ||
| 3507 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) | 3502 | if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) |
| 3508 | && use_dialog_box) | 3503 | && use_dialog_box) |
| 3509 | return Fmessage_box (nargs, args); | 3504 | return Fmessage_box (nargs, args); |
| 3510 | #endif | ||
| 3511 | return Fmessage (nargs, args); | 3505 | return Fmessage (nargs, args); |
| 3512 | } | 3506 | } |
| 3513 | 3507 | ||