diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-15 16:33:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-15 16:33:28 +0200 |
commit | 451c2e3536a3cb77d07faf3cb2b834512e174351 (patch) | |
tree | c2dbbf67dc33787ea4e1aaa64baec99b77346ea2 /src/ex_cmds.c | |
parent | 53b29e4845857d76ca7df1ff2fd0e03c3eeb82e1 (diff) | |
download | vim-git-451c2e3536a3cb77d07faf3cb2b834512e174351.tar.gz |
patch 8.2.1460: error messages are spread outv8.2.1460
Problem: Error messages are spread out.
Solution: Move more messages into errors.h.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 2550f0e30..c61f57533 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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; } |