0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.3959: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more errors to errors.h.
This commit is contained in:
Bram Moolenaar
2021-12-31 18:49:43 +00:00
parent ef089f50f9
commit 6d0570117a
13 changed files with 122 additions and 45 deletions

View File

@@ -208,7 +208,7 @@ add_buff(
}
else if (buf->bh_curr == NULL) // buffer has already been read
{
iemsg(_("E222: Add to read buffer"));
iemsg(_(e_add_to_internal_buffer_that_was_already_read_from));
return;
}
else if (buf->bh_index != 0)
@@ -2758,7 +2758,7 @@ handle_mapping(
*/
if (++*mapdepth >= p_mmd)
{
emsg(_("E223: recursive mapping"));
emsg(_(e_recursive_mapping));
if (State & CMDLINE)
redrawcmdline();
else