Mercurial > vim
changeset 18126:f89e2e720b5b v8.1.2058
patch 8.1.2058: function for ex command is named inconsistently
Commit: https://github.com/vim/vim/commit/4bd782339e370bde82c2a8976df9f335cc12eba9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 19 23:21:55 2019 +0200
patch 8.1.2058: function for ex command is named inconsistently
Problem: Function for ex command is named inconsistently.
Solution: Rename do_marks() to ex_marks().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Sep 2019 23:30:03 +0200 |
parents | b5ef528e2121 |
children | 3a7a8ae0864f |
files | src/ex_cmds.h src/mark.c src/proto/mark.pro src/version.c |
diffstat | 4 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -928,7 +928,7 @@ EXCMD(CMD_map, "map", ex_map, EXCMD(CMD_mapclear, "mapclear", ex_mapclear, EX_EXTRA|EX_BANG|EX_TRLBAR|EX_CMDWIN, ADDR_NONE), -EXCMD(CMD_marks, "marks", do_marks, +EXCMD(CMD_marks, "marks", ex_marks, EX_EXTRA|EX_TRLBAR|EX_CMDWIN, ADDR_NONE), EXCMD(CMD_match, "match", ex_match,
--- a/src/mark.c +++ b/src/mark.c @@ -699,7 +699,7 @@ mark_line(pos_T *mp, int lead_len) * print the marks */ void -do_marks(exarg_T *eap) +ex_marks(exarg_T *eap) { char_u *arg = eap->arg; int i;
--- a/src/proto/mark.pro +++ b/src/proto/mark.pro @@ -13,7 +13,7 @@ void fmarks_check_names(buf_T *buf); int check_mark(pos_T *pos); void clrallmarks(buf_T *buf); char_u *fm_getname(fmark_T *fmark, int lead_len); -void do_marks(exarg_T *eap); +void ex_marks(exarg_T *eap); void ex_delmarks(exarg_T *eap); void ex_jumps(exarg_T *eap); void ex_clearjumps(exarg_T *eap);