From 74409f62790a93daf0965c71da01ff76aa0fa5a5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 1 Jan 2022 15:58:22 +0000 Subject: patch 8.2.3970: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index c5b273c4a6..c00993a945 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1608,7 +1608,7 @@ do_bufdel( if (addr_count == 2) { if (*arg) // both range and argument is not allowed - return ex_errmsg(e_trailing_arg, arg); + return ex_errmsg(e_trailing_characters_str, arg); bnr = start_bnr; } else // addr_count == 1 -- cgit v1.2.3