0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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().
This commit is contained in:
Bram Moolenaar
2019-09-19 23:21:55 +02:00
parent 7528d1f6b5
commit 4bd782339e
4 changed files with 5 additions and 3 deletions

View File

@@ -928,7 +928,7 @@ EXCMD(CMD_map, "map", ex_map,
EXCMD(CMD_mapclear, "mapclear", ex_mapclear, EXCMD(CMD_mapclear, "mapclear", ex_mapclear,
EX_EXTRA|EX_BANG|EX_TRLBAR|EX_CMDWIN, EX_EXTRA|EX_BANG|EX_TRLBAR|EX_CMDWIN,
ADDR_NONE), ADDR_NONE),
EXCMD(CMD_marks, "marks", do_marks, EXCMD(CMD_marks, "marks", ex_marks,
EX_EXTRA|EX_TRLBAR|EX_CMDWIN, EX_EXTRA|EX_TRLBAR|EX_CMDWIN,
ADDR_NONE), ADDR_NONE),
EXCMD(CMD_match, "match", ex_match, EXCMD(CMD_match, "match", ex_match,

View File

@@ -699,7 +699,7 @@ mark_line(pos_T *mp, int lead_len)
* print the marks * print the marks
*/ */
void void
do_marks(exarg_T *eap) ex_marks(exarg_T *eap)
{ {
char_u *arg = eap->arg; char_u *arg = eap->arg;
int i; int i;

View File

@@ -13,7 +13,7 @@ void fmarks_check_names(buf_T *buf);
int check_mark(pos_T *pos); int check_mark(pos_T *pos);
void clrallmarks(buf_T *buf); void clrallmarks(buf_T *buf);
char_u *fm_getname(fmark_T *fmark, int lead_len); 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_delmarks(exarg_T *eap);
void ex_jumps(exarg_T *eap); void ex_jumps(exarg_T *eap);
void ex_clearjumps(exarg_T *eap); void ex_clearjumps(exarg_T *eap);

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2058,
/**/ /**/
2057, 2057,
/**/ /**/