commit | e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 21:07:36 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 21:07:36 2021 +0200 |
tree | eb8bd787e936db02a1617fb033aed2e224b3bbd3 | |
parent | 9fa5dabedc4ed5af85773413e91c2fdbe4cb9f0a [diff] [blame] |
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.
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 04859ad..15560d8 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c
@@ -413,7 +413,7 @@ { if (curbuf->b_ffname == NULL) { - emsg(_(e_noname)); + emsg(_(e_no_file_name)); return FAIL; } return OK;