diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-27 22:03:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-27 22:03:33 +0200 |
commit | 108010aa4720ef023a8ac59004fc0f2bc11125af (patch) | |
tree | 831741a42644a86ee0d74679361f74cc27861eaa /src/arglist.c | |
parent | d887297ad0164516dd52cdab0308c3626337d124 (diff) |
patch 8.2.3069: error messages are spread outv8.2.3069
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
Diffstat (limited to 'src/arglist.c')
-rw-r--r-- | src/arglist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arglist.c b/src/arglist.c index 79628fda62..863b1cc6a9 100644 --- a/src/arglist.c +++ b/src/arglist.c @@ -832,7 +832,7 @@ ex_argdelete(exarg_T *eap) { // Don't give an error for ":%argdel" if the list is empty. if (eap->line1 != 1 || eap->line2 != 0) - emsg(_(e_invrange)); + emsg(_(e_invalid_range)); } else { @@ -920,7 +920,7 @@ do_arg_all( #ifdef FEAT_CMDWIN if (cmdwin_type != 0) { - emsg(_(e_cmdwin)); + emsg(_(e_invalid_in_cmdline_window)); return; } #endif |