summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-30 23:20:33 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-30 23:20:33 +0100
commit20fb9f346497daca4d19402fdfa5de7958642477 (patch)
treea5f484e21e755b04f4e2ab195c8aac3e8c299daa /src/ex_docmd.c
parentba4ef2757cfc126f342b710f1ad9ea39e6b56cec (diff)
patch 7.4.1217v7.4.1217
Problem: Execution of command on channel doesn't work yet. Solution: Implement the "ex" and "normal" commands.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 7dfd990a11..24df1d17bf 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -345,7 +345,6 @@ static char_u *uc_fun_cmd(void);
static char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *compl);
#endif
#ifdef FEAT_EX_EXTRA
-static void ex_normal(exarg_T *eap);
static void ex_startinsert(exarg_T *eap);
static void ex_stopinsert(exarg_T *eap);
#else
@@ -9861,11 +9860,11 @@ update_topline_cursor(void)
update_curswant();
}
-#ifdef FEAT_EX_EXTRA
+#if defined(FEAT_EX_EXTRA) || defined(PROTO)
/*
* ":normal[!] {commands}": Execute normal mode commands.
*/
- static void
+ void
ex_normal(exarg_T *eap)
{
int save_msg_scroll = msg_scroll;