Protection around autocmd