mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:8.2.2185: BufUnload is not triggered for the quickfix dummy buffer
Problem: BufUnload is not triggered for the quickfix dummy buffer.
Solution: Do trigger BufUnload. (Pontus Leitzler,closes vim/vim#7518, closes vim/vim#7517)
Fix white space around "=".
1cfb9bb5c0
This commit is contained in:
@@ -4773,8 +4773,9 @@ void ex_help(exarg_T *eap)
|
||||
* window. */
|
||||
if (empty_fnum != 0 && curbuf->b_fnum != empty_fnum) {
|
||||
buf = buflist_findnr(empty_fnum);
|
||||
if (buf != NULL && buf->b_nwindows == 0)
|
||||
wipe_buffer(buf, TRUE);
|
||||
if (buf != NULL && buf->b_nwindows == 0) {
|
||||
wipe_buffer(buf, true);
|
||||
}
|
||||
}
|
||||
|
||||
/* keep the previous alternate file */
|
||||
|
Reference in New Issue
Block a user