patch 8.2.2214: ":e#" does not give a warning for missing white space
Problem: ":e#" does not give a warning for missing white space.
Solution: Adjust the check for white space. (closes #7545)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index b1dcc6f..3bb3d49 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3532,7 +3532,7 @@
#ifdef FEAT_EVAL
if (eap->cmdidx != CMD_SIZE && in_vim9script()
- && !IS_WHITE_OR_NUL(*p) && !ends_excmd(*p) && *p != '!'
+ && !IS_WHITE_OR_NUL(*p) && *p != '\n' && *p != '!'
&& (cmdnames[eap->cmdidx].cmd_argt & EX_NONWHITE_OK) == 0)
{
semsg(_(e_command_not_followed_by_white_space_str), eap->cmd);