Mercurial > vim
diff src/fileio.c @ 578:8eb0b93ea26c
updated for version 7.0164
author | vimboss |
---|---|
date | Wed, 07 Dec 2005 20:59:24 +0000 |
parents | 25a70b1cd2da |
children | bc49ed25543d |
line wrap: on
line diff
--- a/src/fileio.c +++ b/src/fileio.c @@ -631,7 +631,7 @@ readfile(fname, sfname, from, lines_to_s #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},