0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.3955: 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 15:09:27 +00:00
parent 9a015111a5
commit eb822a280c
8 changed files with 77 additions and 29 deletions

View File

@@ -6240,7 +6240,7 @@ spell_add_word(
buf = NULL;
if (buf != NULL && bufIsChanged(buf))
{
emsg(_(e_bufloaded));
emsg(_(e_file_is_loaded_in_another_buffer));
vim_free(fnamebuf);
return;
}