summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-19 20:48:37 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-19 20:48:37 +0000
commitbed34f0a8a4e38a72a080184881bc68254a8cdc6 (patch)
treed41d7ae3339b2ada1cc155ce9010057c9c43fb43 /src/ex_docmd.c
parentf67c717e34e5553ab1c3b02b1861274cbcb78935 (diff)
patch 8.2.4147: E464 does not always include the offending commandv8.2.4147
Problem: E464 does not always include the offending command. Solution: Add another error message with "%s". (closes #9564)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index d8d77ce4d2..5f5f60fe0b 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2614,7 +2614,7 @@ doend:
if (errormsg != NULL && *errormsg != NUL && !did_emsg)
{
- if (sourcing)
+ if (sourcing || !KeyTyped)
{
if (errormsg != (char *)IObuff)
{