From 436b5adc9770a2568209dd5ab1f98bd1afc91898 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 31 Dec 2021 22:49:24 +0000 Subject: patch 8.2.3961: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h. --- src/arglist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arglist.c') diff --git a/src/arglist.c b/src/arglist.c index d159f3f7cc..104c67a00f 100644 --- a/src/arglist.c +++ b/src/arglist.c @@ -850,7 +850,7 @@ ex_argdelete(exarg_T *eap) n = eap->line2 - eap->line1 + 1; if (*eap->arg != NUL) // Can't have both a range and an argument. - emsg(_(e_invarg)); + emsg(_(e_invalid_argument)); else if (n <= 0) { // Don't give an error for ":%argdel" if the list is empty. -- cgit v1.2.3