aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c4
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/>. */
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
44Lisp_Object Qstring_lessp; 42Lisp_Object Qstring_lessp;
45static Lisp_Object Qprovide, Qrequire; 43static 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) ");