diff --git a/src/nvim/memory.c b/src/nvim/memory.c index cf584575b8..d001685e63 100644 --- a/src/nvim/memory.c +++ b/src/nvim/memory.c @@ -724,13 +724,6 @@ void free_all_mem(void) do_cmdline_cmd("tabonly!"); } - if (!ONE_WINDOW) { - // to keep things simple, don't perform this - // ritual inside a float - curwin = firstwin; - do_cmdline_cmd("only!"); - } - // Free all spell info. spell_free_all();