mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3069: error messages are spread out
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user