fix doautocmd
Merge pull request #1 from Eivy/fix_doautocmd

fix doautocmd