diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-26 20:20:34 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-26 20:20:34 +0000 |
commit | c553a21e189aa440515a19c5b25f8b6b50c5d53d (patch) | |
tree | 46e5de31c79fe9c8e67b35f6a22d9fa52e3b24ac /src/ex_cmds.c | |
parent | 1f318c6eac3d894a3fb9c68c53512cdd75e8f6b4 (diff) | |
download | vim-git-c553a21e189aa440515a19c5b25f8b6b50c5d53d.tar.gz |
patch 8.2.3907: error messages are spread outv8.2.3907
Problem: Error messages are spread out.
Solution: Move error messages to errors.h. Avoid duplicates.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 14045267d..ff978ad66 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -687,7 +687,7 @@ do_move(linenr_T line1, linenr_T line2, linenr_T dest) if (dest >= line1 && dest < line2) { - emsg(_("E134: Cannot move a range of lines into itself")); + emsg(_(e_cannot_move_range_of_lines_into_itself)); return FAIL; } @@ -1329,7 +1329,7 @@ filterend: if (curbuf != old_curbuf) { --no_wait_return; - emsg(_("E135: *Filter* Autocommands must not change current buffer")); + emsg(_(e_filter_autocommands_must_not_change_current_buffer)); } else if (cmdmod.cmod_flags & CMOD_LOCKMARKS) { |