Yukihiro Nakadaira wrote:
> Steps to reproduce:
>
> function F()
> compiler ant
> compiler bcc
> " Now, 'makeprg' is "ant"
> echo &makeprg
> endfunction
>
>
> ":help current_compiler" says:
>
> To support older Vim versions, the plugins always use "current_compiler" and
> not "b:current_compiler". What the command actually does is the following:
>
> - Delete the "current_compiler" and "b:current_compiler" variables.
> ...
>
> But "current_compiler" variable is not deleted and compiler plugin do
> nothing by the following check:
>
> if exists("current_compiler")
> finish
> endif
> let current_compiler = "foo"
>
>
> The following patch fixes this problem.
Thanks! I'll include it soon.
--
>From "know your smileys":
:-H Is missing teeth
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php