updated for version 7.3.449
Problem: Crash when a BufWinLeave autocommand closes the only other window.
(Daniel Hunt)
Solution: Abort closing a buffer when it becomes the only one.
diff --git a/src/quickfix.c b/src/quickfix.c
index d23b03e..19eb058 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3565,7 +3565,7 @@
buf_T *buf;
{
if (curbuf != buf) /* safety check */
- close_buffer(NULL, buf, DOBUF_UNLOAD);
+ close_buffer(NULL, buf, DOBUF_UNLOAD, FALSE);
}
#if defined(FEAT_EVAL) || defined(PROTO)