diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-23 22:46:02 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-23 23:16:20 -0400 |
commit | cd4b649136b9c4529a6f2f9043ad0c7335126d71 (patch) | |
tree | 64c562815ab6c9e90b57ae78df3850bcd5a2c73e /src/nvim/quickfix.c | |
parent | 4cb0bf09421e88adb812bb716b56af22bd51353e (diff) | |
download | rneovim-cd4b649136b9c4529a6f2f9043ad0c7335126d71.tar.gz rneovim-cd4b649136b9c4529a6f2f9043ad0c7335126d71.tar.bz2 rneovim-cd4b649136b9c4529a6f2f9043ad0c7335126d71.zip |
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 "=".
https://github.com/vim/vim/commit/1cfb9bb5c06c07f14475f39c4eb57fea1f0dfb69
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 508257d5b1..3e8d623ed4 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -5713,7 +5713,7 @@ static void wipe_dummy_buffer(buf_T *buf, char_u *dirname_start) // work when got_int is set. enter_cleanup(&cs); - wipe_buffer(buf, FALSE); + wipe_buffer(buf, true); // Restore the error/interrupt/exception state if not discarded by a // new aborting error, interrupt, or uncaught exception. |