From b815dac06188da69169b7bcf765cdd6c541588ce Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 7 Dec 2005 20:59:24 +0000 Subject: updated for version 7.0164 --- src/fileio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fileio.c') diff --git a/src/fileio.c b/src/fileio.c index 8ad344340..3126143fe 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -631,7 +631,7 @@ readfile(fname, sfname, from, lines_to_skip, lines_to_read, eap, flags) #endif } -#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG) +#if defined(HAS_SWAP_EXISTS_ACTION) /* If "Quit" selected at ATTENTION dialog, don't load the file */ if (swap_exists_action == SEA_QUIT) { @@ -6760,6 +6760,7 @@ static struct event_name {"StdinReadPost", EVENT_STDINREADPOST}, {"StdinReadPre", EVENT_STDINREADPRE}, {"Syntax", EVENT_SYNTAX}, + {"SwapExists", EVENT_SWAPEXISTS}, {"TermChanged", EVENT_TERMCHANGED}, {"TermResponse", EVENT_TERMRESPONSE}, {"User", EVENT_USER}, -- cgit v1.2.1