To: vim_dev@googlegroups.com Subject: Patch 8.1.2058 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2058 Problem: Function for ex command is named inconsistently. Solution: Rename do_marks() to ex_marks(). Files: src/mark.c, src/proto/mark.pro, src/ex_cmds.h *** ../vim-8.1.2057/src/mark.c 2019-08-20 20:13:40.326821952 +0200 --- src/mark.c 2019-09-19 23:15:18.680027734 +0200 *************** *** 699,705 **** * print the marks */ void ! do_marks(exarg_T *eap) { char_u *arg = eap->arg; int i; --- 699,705 ---- * print the marks */ void ! ex_marks(exarg_T *eap) { char_u *arg = eap->arg; int i; *** ../vim-8.1.2057/src/proto/mark.pro 2019-08-20 20:13:40.330821936 +0200 --- src/proto/mark.pro 2019-09-19 23:15:32.571947873 +0200 *************** *** 13,19 **** 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_delmarks(exarg_T *eap); void ex_jumps(exarg_T *eap); void ex_clearjumps(exarg_T *eap); --- 13,19 ---- int check_mark(pos_T *pos); void clrallmarks(buf_T *buf); char_u *fm_getname(fmark_T *fmark, int lead_len); ! void ex_marks(exarg_T *eap); void ex_delmarks(exarg_T *eap); void ex_jumps(exarg_T *eap); void ex_clearjumps(exarg_T *eap); *** ../vim-8.1.2057/src/ex_cmds.h 2019-08-16 22:42:09.997965987 +0200 --- src/ex_cmds.h 2019-09-19 23:15:23.887997738 +0200 *************** *** 928,934 **** EXCMD(CMD_mapclear, "mapclear", ex_mapclear, EX_EXTRA|EX_BANG|EX_TRLBAR|EX_CMDWIN, ADDR_NONE), ! EXCMD(CMD_marks, "marks", do_marks, EX_EXTRA|EX_TRLBAR|EX_CMDWIN, ADDR_NONE), EXCMD(CMD_match, "match", ex_match, --- 928,934 ---- EXCMD(CMD_mapclear, "mapclear", ex_mapclear, EX_EXTRA|EX_BANG|EX_TRLBAR|EX_CMDWIN, ADDR_NONE), ! EXCMD(CMD_marks, "marks", ex_marks, EX_EXTRA|EX_TRLBAR|EX_CMDWIN, ADDR_NONE), EXCMD(CMD_match, "match", ex_match, *** ../vim-8.1.2057/src/version.c 2019-09-19 23:05:56.475034930 +0200 --- src/version.c 2019-09-19 23:21:29.390022701 +0200 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 2058, /**/ -- A successful man is one who makes more money than his wife can spend. A successful woman is one who can find such a man. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///