summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-01 21:56:25 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-01 21:56:25 +0000
commit1ef15e30a0479b4c4f7da7142b6f6a441e295f1e (patch)
tree12b2dac135759a6a69706acef869b9db6a390c5e /src
parentafeb4fa8a7ffc357cea70668b9ad3c66edfc8ce0 (diff)
downloadvim-1ef15e30a0479b4c4f7da7142b6f6a441e295f1e.zip
updated for version 7.0191
Diffstat (limited to 'src')
-rw-r--r--src/eval.c6
-rw-r--r--src/ex_cmds.h2
-rw-r--r--src/fold.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/eval.c b/src/eval.c
index cfcc9d4ae..c44aae048 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -400,8 +400,6 @@ static int get_option_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
static int get_string_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
static int get_lit_string_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
static int get_list_tv __ARGS((char_u **arg, typval_T *rettv, int evaluate));
-static list_T *list_alloc __ARGS((void));
-static void list_free __ARGS((list_T *l));
static listitem_T *listitem_alloc __ARGS((void));
static void listitem_free __ARGS((listitem_T *item));
static void listitem_remove __ARGS((list_T *l, listitem_T *item));
@@ -5197,7 +5195,7 @@ failret:
* Allocate an empty header for a list.
* Caller should take care of the reference count.
*/
- static list_T *
+ list_T *
list_alloc()
{
list_T *l;
@@ -5231,7 +5229,7 @@ list_unref(l)
* Free a list, including all items it points to.
* Ignores the reference count.
*/
- static void
+ void
list_free(l)
list_T *l;
{
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 8211a7f8f..7a9c0338d 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -543,6 +543,8 @@ EX(CMD_lpfile, "lpfile", ex_cnext,
RANGE|NOTADR|COUNT|TRLBAR|BANG),
EX(CMD_lrewind, "lrewind", ex_cc,
RANGE|NOTADR|COUNT|TRLBAR|BANG),
+EX(CMD_ltag, "ltag", ex_tag,
+ NOTADR|TRLBAR|BANG|WORD1),
EX(CMD_lunmap, "lunmap", ex_unmap,
EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
EX(CMD_lwindow, "lwindow", ex_cwindow,
diff --git a/src/fold.c b/src/fold.c
index 67d542c4a..e1dda7e3e 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -3188,7 +3188,7 @@ foldlevelMarker(flp)
--flp->lvl_next;
}
else
- ++s;
+ mb_ptr_adv(s);
}
/* The level can't go negative, must be missing a start marker. */