diff src/fileio.c @ 26893:79c76ca2c53c v8.2.3975

patch 8.2.3975: error messages are spread out Commit: https://github.com/vim/vim/commit/cbadefe25a27ded93548eaa7a325d2a04bf55d7c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 19:33:50 2022 +0000 patch 8.2.3975: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 20:45:03 +0100
parents 06a137af96f8
children aa65d1808bd0
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -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')