]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3920: restoring directory after using another window is inefficient v8.2.3920
authorBram Moolenaar <Bram@vim.org>
Tue, 28 Dec 2021 13:15:05 +0000 (13:15 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 28 Dec 2021 13:15:05 +0000 (13:15 +0000)
commit90c317f2246a7fb4bd4e3feb0778b53627bc9fad
tree0f765598411fe6bab0519ddb7f1ee4daebb80c67
parent8b6256f6ec075cca40341e61ebc9f538b4902dd1
patch 8.2.3920: restoring directory after using another window is inefficient

Problem:    Restoring directory after using another window is inefficient.
Solution:   Only restore the directory for win_execute().  Apply 'autochdir'
            only when needed.
src/evalwindow.c
src/testdir/test_autochdir.vim
src/version.c