summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ex_docmd.c4
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 23867d8ac..fed9330b5 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1744,6 +1744,7 @@ do_one_cmd(
int did_set_expr_line = FALSE;
#endif
int sourcing = flags & DOCMD_VERBOSE;
+ int did_append_cmd = FALSE;
CLEAR_FIELD(ea);
ea.line1 = 1;
@@ -2019,6 +2020,7 @@ do_one_cmd(
append_command(after_modifier);
else
append_command(*cmdlinep);
+ did_append_cmd = TRUE;
}
errormsg = (char *)IObuff;
did_emsg_syntax = TRUE;
@@ -2609,7 +2611,7 @@ doend:
if (errormsg != NULL && *errormsg != NUL && !did_emsg)
{
- if (sourcing || !KeyTyped)
+ if ((sourcing || !KeyTyped) && !did_append_cmd)
{
if (errormsg != (char *)IObuff)
{
diff --git a/src/version.c b/src/version.c
index f21efe157..50c6ed3b0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 5093,
+/**/
5092,
/**/
5091,