aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-20 21:56:36 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-20 22:07:45 -0400
commit7b2fd2156062590b04c4905a0cd9ea8be3288f7a (patch)
treea30550396ebc3901ebc1ac6a0c10225ad79ae773 /src/nvim/window.c
parent87f31b4c869c49529469e189d8f908398de7755c (diff)
downloadrneovim-7b2fd2156062590b04c4905a0cd9ea8be3288f7a.tar.gz
rneovim-7b2fd2156062590b04c4905a0cd9ea8be3288f7a.tar.bz2
rneovim-7b2fd2156062590b04c4905a0cd9ea8be3288f7a.zip
Revert "vim-patch:8.1.1015: quickfix buffer shows up in list, can't get buffer number"
This reverts commit 4cd69151cf39cd4c3f083da2275f17206dcf5bc3.
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 7d08336c25..4931221e7a 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -2582,10 +2582,6 @@ int win_close(win_T *win, bool free_buf)
if (win->w_buffer != NULL) {
reset_synblock(win);
}
- // When the quickfix/location list window is closed, unlist the buffer.
- if (win->w_buffer != NULL && bt_quickfix(win->w_buffer)) {
- win->w_buffer->b_p_bl = false;
- }
/*
* Close the link to the buffer.