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:
@@ -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,
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2058,
|
||||
/**/
|
||||
2057,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user