diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-28 22:39:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-28 22:39:57 +0000 |
commit | ebefac63f30ac038c0c35d7f1b9257483ec41812 (patch) | |
tree | 63e6374375ebc6744379fba43c1c557187490143 /src/ex_docmd.c | |
parent | cc984263d755d05a12c8391abff42c087237554e (diff) |
updated for version 7.0177v7.0177
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 3e001a242c..a49dfce8af 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2826,11 +2826,7 @@ find_ucmd(eap, p, full, xp, compl) if (k == len && found && *np != NUL) { if (gap == &ucmds) - { - if (xp != NULL) - xp->xp_context = EXPAND_UNSUCCESSFUL; return NULL; - } amb_local = TRUE; } @@ -3091,6 +3087,8 @@ set_one_cmd_context(xp, buff) NULL # endif ); + if (p == NULL) + ea.cmdidx = CMD_SIZE; /* ambiguous user command */ } #endif } |