0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4147: E464 does not always include the offending command

Problem:    E464 does not always include the offending command.
Solution:   Add another error message with "%s". (closes #9564)
This commit is contained in:
Bram Moolenaar
2022-01-19 20:48:37 +00:00
parent f67c717e34
commit bed34f0a8a
5 changed files with 36 additions and 2 deletions

View File

@@ -2614,7 +2614,7 @@ doend:
if (errormsg != NULL && *errormsg != NUL && !did_emsg)
{
if (sourcing)
if (sourcing || !KeyTyped)
{
if (errormsg != (char *)IObuff)
{