Mercurial > vim
diff src/ex_docmd.c @ 1511:9c970d8681f4 v7.1.226
updated for version 7.1-226
author | vimboss |
---|---|
date | Sun, 13 Jan 2008 16:12:10 +0000 |
parents | 4845822f6a6c |
children | cc4fe241baa3 |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3338,12 +3338,13 @@ set_one_cmd_context(xp, buff) } in_quote = !in_quote; } + /* An argument can contain just about everything, except + * characters that end the command and white space. */ + else if (c == '|' || c == '\n' || c == '"' || (vim_iswhite(c) #ifdef SPACE_IN_FILENAME - else if (!vim_isfilec_or_wc(c) - && (!(ea.argt & NOSPC) || usefilter)) -#else - else if (!vim_isfilec_or_wc(c)) -#endif + && (!(ea.argt & NOSPC) || usefilter) +#endif + )) { while (*p != NUL) {