patch 8.2.4005: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
diff --git a/src/normal.c b/src/normal.c
index 553ed24..df7ae56 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5627,11 +5627,11 @@
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);