diff options
author | vimboss <devnull@localhost> | 2006-09-10 19:07:28 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2006-09-10 19:07:28 +0000 |
commit | dc32e051dbd09ac168b3ad2c133dbfe5774081a1 (patch) | |
tree | 73058a5c18fc56784a435a9b8b403bd4c6bf904b | |
parent | ed03ebdd0924b928f5322443892a972e935eeee0 (diff) | |
download | vim-dc32e051dbd09ac168b3ad2c133dbfe5774081a1.tar.gz |
-rw-r--r-- | src/ex_docmd.c | 9 | ||||
-rw-r--r-- | src/ex_getln.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 3378092e..bb57a106 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8422,6 +8422,15 @@ ex_redir(eap) else EMSG2(_(e_invarg2), eap->arg); } + + /* Make sure redirection is not off. Can happen for cmdline completion + * that indirectly invokes a command to catch its output. */ + if (redir_fd != NULL +#ifdef FEAT_EVAL + || redir_reg || redir_vname +#endif + ) + redir_off = FALSE; } /* diff --git a/src/ex_getln.c b/src/ex_getln.c index 617c2461..e0066313 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -324,6 +324,9 @@ getcmdline(firstc, count, indent) */ for (;;) { + redir_off = TRUE; /* Don't redirect the typed command. + Repeated, because a ":redir" inside + completion may switch it on. */ #ifdef USE_ON_FLY_SCROLL dont_scroll = FALSE; /* allow scrolling here */ #endif diff --git a/src/version.c b/src/version.c index 6cb788ca..acff8abd 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 */ /**/ + 98, +/**/ 97, /**/ 96, |