summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2007-07-16 18:39:49 +0000
committervimboss <devnull@localhost>2007-07-16 18:39:49 +0000
commitffb12b6dc7d613e2187872cf7110c7a80c2b11f0 (patch)
tree26f3856222277d1c27502df5278db8dc3caba7e8
parent487ddaeaa076b658a3688855999b073ae107020e (diff)
downloadvim-ffb12b6dc7d613e2187872cf7110c7a80c2b11f0.tar.gz
updated for version 7.1-029v7.1.029v7-1-029
-rw-r--r--src/ex_docmd.c9
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 005e02a2..a623a52e 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -133,6 +133,7 @@ static linenr_T get_address __ARGS((char_u **, int skip, int to_other_file));
static void get_flags __ARGS((exarg_T *eap));
#if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
|| !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
+# define HAVE_EX_SCRIPT_NI
static void ex_script_ni __ARGS((exarg_T *eap));
#endif
static char_u *invalid_range __ARGS((exarg_T *eap));
@@ -2119,7 +2120,10 @@ do_one_cmd(cmdlinep, sourcing,
!USER_CMDIDX(ea.cmdidx) &&
#endif
(cmdnames[ea.cmdidx].cmd_func == ex_ni
- || cmdnames[ea.cmdidx].cmd_func == ex_script_ni));
+#ifdef HAVE_EX_SCRIPT_NI
+ || cmdnames[ea.cmdidx].cmd_func == ex_script_ni
+#endif
+ ));
#ifndef FEAT_EVAL
/*
@@ -3998,8 +4002,7 @@ ex_ni(eap)
eap->errmsg = (char_u *)N_("E319: Sorry, the command is not available in this version");
}
-#if !defined(FEAT_PERL) || !defined(FEAT_PYTHON) || !defined(FEAT_TCL) \
- || !defined(FEAT_RUBY) || !defined(FEAT_MZSCHEME)
+#ifdef HAVE_EX_SCRIPT_NI
/*
* Function called for script command which is Not Implemented. NI!
* Skips over ":perl <<EOF" constructs.
diff --git a/src/version.c b/src/version.c
index 23a73484..b94783c3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 29,
+/**/
28,
/**/
27,