summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.c b/src/map.c
index 311f4da5e7..94d2bdf3c8 100644
--- a/src/map.c
+++ b/src/map.c
@@ -916,7 +916,7 @@ map_clear(
local = (STRCMP(arg, "<buffer>") == 0);
if (!local && *arg != NUL)
{
- emsg(_(e_invarg));
+ emsg(_(e_invalid_argument));
return;
}
@@ -2753,7 +2753,7 @@ do_exmap(exarg_T *eap, int isabbrev)
switch (do_map((*cmdp == 'n') ? 2 : (*cmdp == 'u'),
eap->arg, mode, isabbrev))
{
- case 1: emsg(_(e_invarg));
+ case 1: emsg(_(e_invalid_argument));
break;
case 2: emsg((isabbrev ? _(e_no_such_abbreviation)
: _(e_no_such_mapping)));