1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2021-12-28 13:15:05 +00:00
parent 8b6256f6ec
commit 90c317f224
3 changed files with 41 additions and 4 deletions

View File

@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3920,
/**/
3919,
/**/