doautoall: Execute autocommands for the current buffer at last by itchyny · Pull Request #7958 · vim/vim

The doautoall command invokes an event on all the buffers, but some event listener may store the current window. For example, doautoall WinEnter confuses some plugin detecting the current window fo...