diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 78a87e76a..ff915173f 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -3724,9 +3724,11 @@ ex_substitute(exarg_T *eap) // don't accept alphanumeric for separator if (check_regexp_delim(*cmd) == FAIL) return; +#ifdef FEAT_EVAL if (in_vim9script() && check_global_and_subst(eap->cmd, eap->arg) == FAIL) return; +#endif /* * undocumented vi feature: @@ -4902,8 +4904,10 @@ ex_global(exarg_T *eap) cmd = eap->arg; which_pat = RE_LAST; // default: use last used regexp +#ifdef FEAT_EVAL if (in_vim9script() && check_global_and_subst(eap->cmd, eap->arg) == FAIL) return; +#endif /* * undocumented vi feature: diff --git a/src/version.c b/src/version.c index 978e012fc..7fa96b040 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3505, /**/ 3504, /**/