diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-07-09 18:06:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-07-09 18:06:49 +0000 |
commit | cdcaa5892992d556c7469a36b719aefc220f44a6 (patch) | |
tree | 7625616f59ead9e862f07c8f005d3fa3392b1ab9 /src/if_perl.xs | |
parent | 13df0fea4b79d5b3184df8c39b077ae0f6163375 (diff) | |
download | vim-git-cdcaa5892992d556c7469a36b719aefc220f44a6.tar.gz |
updated for version 7.2-226v7.2.226
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r-- | src/if_perl.xs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs index d34493829..a589f8fd0 100644 --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -1233,9 +1233,8 @@ Delete(vimbuf, ...) if (u_savedel(lnum, 1) == OK) { ml_delete(lnum, 0); + check_cursor(); deleted_lines_mark(lnum, 1L); - if (aco.save_curbuf == curbuf) - check_cursor(); } /* restore curwin/curbuf and a few other things */ |