Mercurial > vim
changeset 1911:afbe4a4c884c v7.2.208
updated for version 7.2-208
author | vimboss |
---|---|
date | Tue, 16 Jun 2009 15:50:33 +0000 |
parents | 1287e2bbeb40 |
children | fcf44bf1218f |
files | src/option.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -4006,7 +4006,7 @@ do_set(arg, opt_flags) else { prefix = 1; - if (STRNCMP(arg, "no", 2) == 0) + if (STRNCMP(arg, "no", 2) == 0 && STRNCMP(arg, "novice", 6) != 0) { prefix = 0; arg += 2; @@ -9757,7 +9757,7 @@ set_context_in_set_cmd(xp, arg, opt_flag } --p; } - if (STRNCMP(p, "no", 2) == 0) + if (STRNCMP(p, "no", 2) == 0 && STRNCMP(p, "novice", 6) != 0) { xp->xp_context = EXPAND_BOOL_SETTINGS; p += 2;