aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorJan Djärv2003-11-29 10:44:36 +0000
committerJan Djärv2003-11-29 10:44:36 +0000
commit03d6484ea449799da1d223491c12d29204aa708a (patch)
treef70dd6e75ccc22f2bbb6cf64db8b9db81b1b58a2 /src/fileio.c
parent442d3fd0482e0db752c3de199d370d95f7c209c2 (diff)
downloademacs-03d6484ea449799da1d223491c12d29204aa708a.tar.gz
emacs-03d6484ea449799da1d223491c12d29204aa708a.zip
Add variable use-file-dialog to control use of file dialogs.
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. */