comparison src/fileio.c @ 26909:aa65d1808bd0 v8.2.3983

patch 8.2.3983: error messages are spread out Commit: https://github.com/vim/vim/commit/eaaac014a01ce37c1f86dbda054c01a5c6f034e7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 2 17:00:40 2022 +0000 patch 8.2.3983: 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 Sun, 02 Jan 2022 18:15:04 +0100
parents 79c76ca2c53c
children 3631d2deb36c
comparison
equal deleted inserted replaced
26908:006aa45685f9 26909:aa65d1808bd0
4400 (linenr_T)MAXLNUM, &ea, flags) != OK) 4400 (linenr_T)MAXLNUM, &ea, flags) != OK)
4401 { 4401 {
4402 #if defined(FEAT_EVAL) 4402 #if defined(FEAT_EVAL)
4403 if (!aborting()) 4403 if (!aborting())
4404 #endif 4404 #endif
4405 semsg(_("E321: Could not reload \"%s\""), buf->b_fname); 4405 semsg(_(e_could_not_reload_str), buf->b_fname);
4406 if (savebuf != NULL && bufref_valid(&bufref) && buf == curbuf) 4406 if (savebuf != NULL && bufref_valid(&bufref) && buf == curbuf)
4407 { 4407 {
4408 // Put the text back from the save buffer. First 4408 // Put the text back from the save buffer. First
4409 // delete any lines that readfile() added. 4409 // delete any lines that readfile() added.
4410 while (!BUFEMPTY()) 4410 while (!BUFEMPTY())