mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1460: error messages are spread out
Problem: Error messages are spread out. Solution: Move more messages into errors.h.
This commit is contained in:
@@ -3842,7 +3842,7 @@ ex_substitute(exarg_T *eap)
|
||||
if (search_regcomp(pat, RE_SUBST, which_pat, SEARCH_HIS, ®match) == FAIL)
|
||||
{
|
||||
if (subflags.do_error)
|
||||
emsg(_(e_invcmd));
|
||||
emsg(_(e_invalid_command));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -4816,7 +4816,7 @@ ex_global(exarg_T *eap)
|
||||
|
||||
if (search_regcomp(pat, RE_BOTH, which_pat, SEARCH_HIS, ®match) == FAIL)
|
||||
{
|
||||
emsg(_(e_invcmd));
|
||||
emsg(_(e_invalid_command));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user