summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-07-09 18:06:49 +0000
committerBram Moolenaar <Bram@vim.org>2009-07-09 18:06:49 +0000
commitcdcaa5892992d556c7469a36b719aefc220f44a6 (patch)
tree7625616f59ead9e862f07c8f005d3fa3392b1ab9 /src/if_perl.xs
parent13df0fea4b79d5b3184df8c39b077ae0f6163375 (diff)
updated for version 7.2-226v7.2.226
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index d344938295..a589f8fd09 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 */