aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 9ed46109951..e586407cecc 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -134,6 +134,7 @@ extern int errno;
134 134
135#include "commands.h" 135#include "commands.h"
136extern int use_dialog_box; 136extern int use_dialog_box;
137extern int use_file_dialog;
137 138
138#ifndef O_WRONLY 139#ifndef O_WRONLY
139#define O_WRONLY 1 140#define O_WRONLY 1
@@ -6212,6 +6213,7 @@ provides a file dialog box. */)
6212#if defined (USE_MOTIF) || defined (HAVE_NTGUI) || defined (USE_GTK) 6213#if defined (USE_MOTIF) || defined (HAVE_NTGUI) || defined (USE_GTK)
6213 if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event)) 6214 if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event))
6214 && use_dialog_box 6215 && use_dialog_box
6216 && use_file_dialog
6215 && have_menus_p ()) 6217 && have_menus_p ())
6216 { 6218 {
6217 /* If DIR contains a file name, split it. */ 6219 /* If DIR contains a file name, split it. */