• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisionf89e2e720b5befe7d1452a01de31d07f18737a70 (tree)
Zeit2019-09-20 06:30:03
AutorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

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().

Ändern Zusammenfassung

Diff

diff -r b5ef528e2121 -r f89e2e720b5b src/ex_cmds.h
--- a/src/ex_cmds.h Thu Sep 19 23:15:07 2019 +0200
+++ b/src/ex_cmds.h Thu Sep 19 23:30:03 2019 +0200
@@ -928,7 +928,7 @@
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,
diff -r b5ef528e2121 -r f89e2e720b5b src/mark.c
--- a/src/mark.c Thu Sep 19 23:15:07 2019 +0200
+++ b/src/mark.c Thu Sep 19 23:30:03 2019 +0200
@@ -699,7 +699,7 @@
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;
diff -r b5ef528e2121 -r f89e2e720b5b src/proto/mark.pro
--- a/src/proto/mark.pro Thu Sep 19 23:15:07 2019 +0200
+++ b/src/proto/mark.pro Thu Sep 19 23:30:03 2019 +0200
@@ -13,7 +13,7 @@
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);
diff -r b5ef528e2121 -r f89e2e720b5b src/version.c
--- a/src/version.c Thu Sep 19 23:15:07 2019 +0200
+++ b/src/version.c Thu Sep 19 23:30:03 2019 +0200
@@ -758,6 +758,8 @@
758758 static int included_patches[] =
759759 { /* Add new patch number below this line */
760760 /**/
761+ 2058,
762+/**/
761763 2057,
762764 /**/
763765 2056,
Show on old repository browser