comparison src/if_perl.xs @ 1929:9230c45fdde6 v7.2.226

updated for version 7.2-226
author vimboss
date Thu, 09 Jul 2009 18:06:49 +0000
parents ff9ecf14efe3
children 80e5b1da6676
comparison
equal deleted inserted replaced
1928:7caa503b63a9 1929:9230c45fdde6
1231 aucmd_prepbuf(&aco, vimbuf); 1231 aucmd_prepbuf(&aco, vimbuf);
1232 1232
1233 if (u_savedel(lnum, 1) == OK) 1233 if (u_savedel(lnum, 1) == OK)
1234 { 1234 {
1235 ml_delete(lnum, 0); 1235 ml_delete(lnum, 0);
1236 check_cursor();
1236 deleted_lines_mark(lnum, 1L); 1237 deleted_lines_mark(lnum, 1L);
1237 if (aco.save_curbuf == curbuf)
1238 check_cursor();
1239 } 1238 }
1240 1239
1241 /* restore curwin/curbuf and a few other things */ 1240 /* restore curwin/curbuf and a few other things */
1242 aucmd_restbuf(&aco); 1241 aucmd_restbuf(&aco);
1243 /* Careful: autocommands may have made "vimbuf" invalid! */ 1242 /* Careful: autocommands may have made "vimbuf" invalid! */