From e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 20 Jul 2021 21:07:36 +0200 Subject: patch 8.2.3190: error messages are spread out Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name. --- src/ex_cmds2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ex_cmds2.c') diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 04859ada7d..15560d82b7 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -413,7 +413,7 @@ check_fname(void) { if (curbuf->b_ffname == NULL) { - emsg(_(e_noname)); + emsg(_(e_no_file_name)); return FAIL; } return OK; -- cgit v1.2.3