diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 17:49:15 +0000 |
commit | 9d00e4a8146862c17ed429dc6b1b43349acb2b5f (patch) | |
tree | 79a1e0d0a738940dba6a9a86936376bd62e04ca3 /src/usercmd.c | |
parent | d3a117814d6acbf0dca3eff1a7626843b9b3734a (diff) | |
download | vim-git-9d00e4a8146862c17ed429dc6b1b43349acb2b5f.tar.gz |
patch 8.2.4010: error messages are spread outv8.2.4010
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/usercmd.c')
-rw-r--r-- | src/usercmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usercmd.c b/src/usercmd.c index 72c011bf7..d4ed0a46a 100644 --- a/src/usercmd.c +++ b/src/usercmd.c @@ -1101,7 +1101,7 @@ ex_command(exarg_T *eap) else if ((name_len == 1 && *name == 'X') || (name_len <= 4 && STRNCMP(name, "Next", name_len > 4 ? 4 : name_len) == 0)) - emsg(_("E841: Reserved name, cannot be used for user defined command")); + emsg(_(e_reserved_name_cannot_be_used_for_user_defined_command)); else if (compl > 0 && (argt & EX_EXTRA) == 0) { // Some plugins rely on silently ignoring the mistake, only make this |