From cdcaa5892992d556c7469a36b719aefc220f44a6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 9 Jul 2009 18:06:49 +0000 Subject: updated for version 7.2-226 --- src/if_perl.xs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/if_perl.xs') 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 */ -- cgit v1.2.3