comparison src/ex_docmd.c @ 27237:44cb142c8615 v8.2.4147

patch 8.2.4147: E464 does not always include the offending command Commit: https://github.com/vim/vim/commit/bed34f0a8a4e38a72a080184881bc68254a8cdc6 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 19 20:48:37 2022 +0000 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 https://github.com/vim/vim/issues/9564)
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Jan 2022 22:00:03 +0100
parents c83631ad3d2a
children 41a940219183
comparison
equal deleted inserted replaced
27236:6cf6cf88dc33 27237:44cb142c8615
2612 curwin->w_cursor.col = 0; 2612 curwin->w_cursor.col = 0;
2613 } 2613 }
2614 2614
2615 if (errormsg != NULL && *errormsg != NUL && !did_emsg) 2615 if (errormsg != NULL && *errormsg != NUL && !did_emsg)
2616 { 2616 {
2617 if (sourcing) 2617 if (sourcing || !KeyTyped)
2618 { 2618 {
2619 if (errormsg != (char *)IObuff) 2619 if (errormsg != (char *)IObuff)
2620 { 2620 {
2621 STRCPY(IObuff, errormsg); 2621 STRCPY(IObuff, errormsg);
2622 errormsg = (char *)IObuff; 2622 errormsg = (char *)IObuff;