0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.4005: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-04 21:30:47 +00:00
parent 548911ee14
commit a6f7929e62
25 changed files with 196 additions and 78 deletions

View File

@@ -5627,11 +5627,11 @@ nv_pcmark(cmdarg_T *cap)
else if (cap->cmdchar == 'g')
{
if (curbuf->b_changelistlen == 0)
emsg(_("E664: changelist is empty"));
emsg(_(e_changelist_is_empty));
else if (cap->count1 < 0)
emsg(_("E662: At start of changelist"));
emsg(_(e_at_start_of_changelist));
else
emsg(_("E663: At end of changelist"));
emsg(_(e_at_end_of_changelist));
}
else
clearopbeep(cap->oap);