diff options
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 8ba1744d00..eac69b13cb 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -1828,8 +1828,8 @@ ex_compiler(eap) do_cmdline_cmd((char_u *) "command -nargs=* CompilerSet setlocal <args>"); } - do_unlet((char_u *)"current_compiler"); - do_unlet((char_u *)"b:current_compiler"); + do_unlet((char_u *)"current_compiler", TRUE); + do_unlet((char_u *)"b:current_compiler", TRUE); sprintf((char *)buf, "compiler/%s.vim", eap->arg); if (cmd_runtime(buf, TRUE) == FAIL) @@ -1853,7 +1853,7 @@ ex_compiler(eap) vim_free(old_cur_comp); } else - do_unlet((char_u *)"current_compiler"); + do_unlet((char_u *)"current_compiler", TRUE); } } } |