0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.3975: 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-01 19:33:50 +00:00
parent 1f4a3457a3
commit cbadefe25a
14 changed files with 104 additions and 34 deletions

View File

@@ -4155,7 +4155,7 @@ buf_check_timestamp(
if (n)
{
if (!bufref_valid(&bufref))
emsg(_("E246: FileChangedShell autocommand deleted buffer"));
emsg(_(e_filechangedshell_autocommand_deleted_buffer));
#ifdef FEAT_EVAL
s = get_vim_var_str(VV_FCS_CHOICE);
if (STRCMP(s, "reload") == 0 && *reason != 'd')