1
0
forked from aniani/vim

updated for version 7.0-098

This commit is contained in:
Bram Moolenaar
2006-09-10 19:07:28 +00:00
parent 7875acc373
commit 29b2d2694d
3 changed files with 14 additions and 0 deletions

View File

@@ -8422,6 +8422,15 @@ ex_redir(eap)
else else
EMSG2(_(e_invarg2), eap->arg); 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;
} }
/* /*

View File

@@ -324,6 +324,9 @@ getcmdline(firstc, count, indent)
*/ */
for (;;) 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 #ifdef USE_ON_FLY_SCROLL
dont_scroll = FALSE; /* allow scrolling here */ dont_scroll = FALSE; /* allow scrolling here */
#endif #endif

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
98,
/**/ /**/
97, 97,
/**/ /**/