From 26910de8b0da6abab87bd5a397330f9cbe483309 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 15 Jun 2019 19:37:15 +0200 Subject: patch 8.1.1547: functionality of bt_nofile() is confusing Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename(). --- src/quickfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quickfix.c') diff --git a/src/quickfix.c b/src/quickfix.c index 290f6bccc..d2d330263 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -4135,7 +4135,7 @@ qf_open_new_cwindow(qf_info_T *qi, int height) // Set the options for the quickfix buffer/window (if not already done) // Do this even if the quickfix buffer was already present, as an autocmd // might have previously deleted (:bdelete) the quickfix buffer. - if (curbuf->b_p_bt[0] != 'q') + if (bt_quickfix(curbuf)) qf_set_cwindow_options(); // Only set the height when still in the same tab page and there is no -- cgit v1.2.1