aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
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 c4002e93e0..f04204fafe 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -6767,9 +6767,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.