summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-07 21:04:31 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-07 21:04:31 +0000
commit4e330bbf216ca93827778c2dcc8aa1a8f053c9e1 (patch)
tree896673ec2c86f23e9bd8e2e64c7357567b58f504 /src/globals.h
parentb815dac06188da69169b7bcf765cdd6c541588ce (diff)
updated for version 7.0164
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/globals.h b/src/globals.h
index b589131a8d..ede48c6dd4 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -841,9 +841,12 @@ EXTERN int msg_silent INIT(= 0); /* don't print messages */
EXTERN int emsg_silent INIT(= 0); /* don't print error messages */
EXTERN int cmd_silent INIT(= FALSE); /* don't echo the command line */
-#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
-EXTERN int swap_exists_action INIT(= 0); /* use dialog when swap file
- already exists */
+#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG) \
+ || defined(FEAT_AUTOCMD)
+# define HAS_SWAP_EXISTS_ACTION
+EXTERN int swap_exists_action INIT(= SEA_NONE);
+ /* For dialog when swap file already
+ * exists. */
#endif
EXTERN char_u *IObuff; /* sprintf's are done in this buffer,