Rewrited autocmd.