This is too late. The autocmd must be the first autocommand installed, otherwise it will not work properly - that is why the magic with the ftdetect script is really needed.