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

patch 8.2.3983: 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-02 17:00:40 +00:00
parent 8bfa0eb863
commit eaaac014a0
12 changed files with 163 additions and 64 deletions

View File

@@ -4402,7 +4402,7 @@ buf_reload(buf_T *buf, int orig_mode)
#if defined(FEAT_EVAL)
if (!aborting())
#endif
semsg(_("E321: Could not reload \"%s\""), buf->b_fname);
semsg(_(e_could_not_reload_str), buf->b_fname);
if (savebuf != NULL && bufref_valid(&bufref) && buf == curbuf)
{
// Put the text back from the save buffer. First