aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-07 07:10:48 +0800
committerGitHub <noreply@github.com>2022-03-07 07:10:48 +0800
commit40e3668e54ac6989ec2cd5454f1b245dfd2514ba (patch)
treebc67d0755ec11c11ab5e0a6b1ca1cd3e1ad4ef5a /src/nvim/window.c
parent8e7446b3cbc5c82706f41d701239fa18ab5b2808 (diff)
parent194411d18aced7b42b40e9a825eaf28c580246a5 (diff)
downloadrneovim-40e3668e54ac6989ec2cd5454f1b245dfd2514ba.tar.gz
rneovim-40e3668e54ac6989ec2cd5454f1b245dfd2514ba.tar.bz2
rneovim-40e3668e54ac6989ec2cd5454f1b245dfd2514ba.zip
Merge pull request #17616 from zeertzjq/vim-8.2.3739
vim-patch:8.2.{3739,3745,3920,4060,4513}
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 83048d911f..d5299202b0 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -6763,9 +6763,6 @@ void restore_win_noblock(switchwin_T *switchwin, bool no_display)
curwin = switchwin->sw_curwin;
curbuf = curwin->w_buffer;
}
- // If called by win_execute() and executing the command changed the
- // directory, it now has to be restored.
- fix_current_dir();
}
/// Make "buf" the current buffer.