0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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 #7518, closes #7517)
            Fix white space around "=".
This commit is contained in:
Bram Moolenaar
2020-12-22 11:40:45 +01:00
parent 9a963377b4
commit 1cfb9bb5c0
2 changed files with 108 additions and 85 deletions

View File

@@ -6513,7 +6513,7 @@ wipe_dummy_buffer(buf_T *buf, char_u *dirname_start)
enter_cleanup(&cs);
#endif
wipe_buffer(buf, FALSE);
wipe_buffer(buf, TRUE);
#if defined(FEAT_EVAL)
// Restore the error/interrupt/exception state if not discarded by a