summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
commita6f7929e62c19a6a2418a016b4c59b83eb1887ac (patch)
treedff539628404695bd64e68602c8f7f62d9dd12f7 /src/normal.c
parent548911ee145cdd166f20e46aa720d1631e66f64e (diff)
downloadvim-git-a6f7929e62c19a6a2418a016b4c59b83eb1887ac.tar.gz
patch 8.2.4005: error messages are spread outv8.2.4005
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/normal.c b/src/normal.c
index 553ed2409..df7ae561d 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5627,11 +5627,11 @@ nv_pcmark(cmdarg_T *cap)
else if (cap->cmdchar == 'g')
{
if (curbuf->b_changelistlen == 0)
- emsg(_("E664: changelist is empty"));
+ emsg(_(e_changelist_is_empty));
else if (cap->count1 < 0)
- emsg(_("E662: At start of changelist"));
+ emsg(_(e_at_start_of_changelist));
else
- emsg(_("E663: At end of changelist"));
+ emsg(_(e_at_end_of_changelist));
}
else
clearopbeep(cap->oap);