updated for version 7.4.267
Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat)
Solution: Add the setmark argument to do_join(). (Christian Brabandt)
diff --git a/src/normal.c b/src/normal.c
index 15abab2..e5fa140 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -812,7 +812,7 @@
if (text_locked() && (nv_cmds[idx].cmd_flags & NV_NCW))
{
- /* This command is not allowed while editing a ccmdline: beep. */
+ /* This command is not allowed while editing a cmdline: beep. */
clearopbeep(oap);
text_locked_msg();
goto normal_end;
@@ -1905,7 +1905,7 @@
else
{
(void)do_join(oap->line_count, oap->op_type == OP_JOIN,
- TRUE, TRUE);
+ TRUE, TRUE, TRUE);
auto_format(FALSE, TRUE);
}
break;
@@ -9236,7 +9236,7 @@
{
prep_redo(cap->oap->regname, cap->count0,
NUL, cap->cmdchar, NUL, NUL, cap->nchar);
- (void)do_join(cap->count0, cap->nchar == NUL, TRUE, TRUE);
+ (void)do_join(cap->count0, cap->nchar == NUL, TRUE, TRUE, TRUE);
}
}
}