summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-27 22:03:33 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-27 22:03:33 +0200
commit108010aa4720ef023a8ac59004fc0f2bc11125af (patch)
tree831741a42644a86ee0d74679361f74cc27861eaa /src/buffer.c
parentd887297ad0164516dd52cdab0308c3626337d124 (diff)
patch 8.2.3069: error messages are spread outv8.2.3069
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d038e3c922..59f51aaf7a 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2407,7 +2407,7 @@ buflist_getfile(
if (buf == NULL)
{
if ((options & GETF_ALT) && n == 0)
- emsg(_(e_noalt));
+ emsg(_(e_no_alternate_file));
else
semsg(_("E92: Buffer %d not found"), n);
return FAIL;
@@ -3516,7 +3516,7 @@ getaltfname(
if (buflist_name_nr(0, &fname, &dummy) == FAIL)
{
if (errmsg)
- emsg(_(e_noalt));
+ emsg(_(e_no_alternate_file));
return NULL;
}
return fname;