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

patch 8.2.4008: 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-05 16:09:06 +00:00
parent 8e7d9db32b
commit 677658ae49
28 changed files with 187 additions and 76 deletions

View File

@@ -2661,7 +2661,7 @@ ex_loadkeymap(exarg_T *eap)
|| *kp->from == NUL || *kp->to == NUL)
{
if (kp->to != NULL && *kp->to == NUL)
emsg(_("E791: Empty keymap entry"));
emsg(_(e_empty_keymap_entry));
vim_free(kp->from);
vim_free(kp->to);
}