Skip to content

Commit 4bd7823

Browse files
committed
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().
1 parent 7528d1f commit 4bd7823

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/ex_cmds.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ EXCMD(CMD_map, "map", ex_map,
928928
EXCMD(CMD_mapclear, "mapclear", ex_mapclear,
929929
EX_EXTRA|EX_BANG|EX_TRLBAR|EX_CMDWIN,
930930
ADDR_NONE),
931-
EXCMD(CMD_marks, "marks", do_marks,
931+
EXCMD(CMD_marks, "marks", ex_marks,
932932
EX_EXTRA|EX_TRLBAR|EX_CMDWIN,
933933
ADDR_NONE),
934934
EXCMD(CMD_match, "match", ex_match,

src/mark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ mark_line(pos_T *mp, int lead_len)
699699
* print the marks
700700
*/
701701
void
702-
do_marks(exarg_T *eap)
702+
ex_marks(exarg_T *eap)
703703
{
704704
char_u *arg = eap->arg;
705705
int i;

src/proto/mark.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void fmarks_check_names(buf_T *buf);
1313
int check_mark(pos_T *pos);
1414
void clrallmarks(buf_T *buf);
1515
char_u *fm_getname(fmark_T *fmark, int lead_len);
16-
void do_marks(exarg_T *eap);
16+
void ex_marks(exarg_T *eap);
1717
void ex_delmarks(exarg_T *eap);
1818
void ex_jumps(exarg_T *eap);
1919
void ex_clearjumps(exarg_T *eap);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ static char *(features[]) =
757757

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
2058,
760762
/**/
761763
2057,
762764
/**/

0 commit comments

Comments
 (0)