Make joining a range of lines much faster. (Milan Vancura)
diff --git a/src/normal.c b/src/normal.c
index efcdb79..3321b3f 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -1908,7 +1908,7 @@
beep_flush();
else
{
- do_do_join(oap->line_count, oap->op_type == OP_JOIN);
+ (void)do_join(oap->line_count, oap->op_type == OP_JOIN, TRUE);
auto_format(FALSE, TRUE);
}
break;
@@ -9111,7 +9111,7 @@
{
prep_redo(cap->oap->regname, cap->count0,
NUL, cap->cmdchar, NUL, NUL, cap->nchar);
- do_do_join(cap->count0, cap->nchar == NUL);
+ (void)do_join(cap->count0, cap->nchar == NUL, TRUE);
}
}
}