comparison src/quickfix.c @ 17095:10e0d7d96cb0 v8.1.1547

patch 8.1.1547: functionality of bt_nofile() is confusing commit https://github.com/vim/vim/commit/26910de8b0da6abab87bd5a397330f9cbe483309 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 15 19:37:15 2019 +0200 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().
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jun 2019 19:45:06 +0200
parents 15bc5a64bd50
children 54b3059311b5
comparison
equal deleted inserted replaced
17094:8ca56a5c3141 17095:10e0d7d96cb0
4133 } 4133 }
4134 4134
4135 // Set the options for the quickfix buffer/window (if not already done) 4135 // Set the options for the quickfix buffer/window (if not already done)
4136 // Do this even if the quickfix buffer was already present, as an autocmd 4136 // Do this even if the quickfix buffer was already present, as an autocmd
4137 // might have previously deleted (:bdelete) the quickfix buffer. 4137 // might have previously deleted (:bdelete) the quickfix buffer.
4138 if (curbuf->b_p_bt[0] != 'q') 4138 if (bt_quickfix(curbuf))
4139 qf_set_cwindow_options(); 4139 qf_set_cwindow_options();
4140 4140
4141 // Only set the height when still in the same tab page and there is no 4141 // Only set the height when still in the same tab page and there is no
4142 // window to the side. 4142 // window to the side.
4143 if (curtab == prevtab && curwin->w_width == Columns) 4143 if (curtab == prevtab && curwin->w_width == Columns)