[7.2.241] When using a combination of ":bufdo" and "doautoall" we may end up
commit5f0155fe5ac5c8027404920fb9a8eb5f3e15c618
authorBram Moolenaar <Bram@moolenaar.net>
Wed, 29 Jul 2009 12:06:31 +0000 (29 12:06 +0000)
committerBram Moolenaar <Bram@moolenaar.net>
Wed, 29 Jul 2009 12:06:31 +0000 (29 12:06 +0000)
treea076f8cdd022350fa0f0dcda5cf95cee780ee1d0
parentfc1d39b809c9c3e944859dce9a7a642068e19925
[7.2.241] When using a combination of ":bufdo" and "doautoall" we may end up

Problem:    When using a combination of ":bufdo" and "doautoall" we may end up
            in the wrong directory. (Ajit Thakkar)
            Crash when triggering an autocommand in ":vimgrep".  (Yukihiro
            Nakadaira)

Solution:   Clear w_localdir and globaldir when using the aucmd_win.
            Use a separate flag to decide aucmd_win needs to be restored.

Patch 7.2.241
src/fileio.c
src/globals.h
src/structs.h
src/version.c