summaryrefslogtreecommitdiffstats
path: root/src/arglist.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-31 19:59:55 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-31 19:59:55 +0000
commitf1474d801bbdb73406dd3d1f931f515f99e86dfa (patch)
treee69c4f4dcf990b7c13711f8b36e518117c14670e /src/arglist.c
parent6d0570117ac86b7979bf249de5741088212d6e17 (diff)
patch 8.2.3960: error messages are spread outv8.2.3960
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/arglist.c')
-rw-r--r--src/arglist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arglist.c b/src/arglist.c
index 2db9b9e533..d159f3f7cc 100644
--- a/src/arglist.c
+++ b/src/arglist.c
@@ -839,7 +839,7 @@ ex_argdelete(exarg_T *eap)
{
if (curwin->w_arg_idx >= ARGCOUNT)
{
- emsg(_("E610: No argument to delete"));
+ emsg(_(e_no_argument_to_delete));
return;
}
eap->line1 = eap->line2 = curwin->w_arg_idx + 1;
@@ -1129,7 +1129,7 @@ do_arg_all(
else if (wpnext->w_frame->fr_parent
!= curwin->w_frame->fr_parent)
{
- emsg(_("E249: window layout changed unexpectedly"));
+ emsg(_(e_window_layout_changed_unexpectedly));
i = count;
break;
}