Skip to content

Commit

Permalink
updated for version 7.2-154
Browse files Browse the repository at this point in the history
  • Loading branch information
vimboss committed Apr 22, 2009
1 parent 153c893 commit 49b3032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/memline.c
Expand Up @@ -3771,8 +3771,10 @@ do_swapexists(buf, fname)
set_vim_var_string(VV_SWAPCHOICE, NULL, -1);

/* Trigger SwapExists autocommands with <afile> set to the file being
* edited. */
* edited. Disallow changing directory here. */
++allbuf_lock;
apply_autocmds(EVENT_SWAPEXISTS, buf->b_fname, NULL, FALSE, NULL);
--allbuf_lock;

set_vim_var_string(VV_SWAPNAME, NULL, -1);

Expand All @@ -3798,6 +3800,7 @@ do_swapexists(buf, fname)
*
* Note: If BASENAMELEN is not correct, you will get error messages for
* not being able to open the swapfile
* Note: May trigger SwapExists autocmd, pointers may change!
*/
static char_u *
findswapname(buf, dirp, old_fname)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -676,6 +676,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
154,
/**/
153,
/**/
Expand Down

0 comments on commit 49b3032

Please sign in to comment.