patch 8.2.0004: get E685 and E931 if buffer reload is interrupted
Problem: Get E685 and E931 if buffer reload is interrupted.
Solution: Do not abort deleting a dummy buffer. (closes #5361)
diff --git a/src/vim.h b/src/vim.h
index 68e2de1..a01d4b2 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2458,9 +2458,10 @@
#define VIF_GET_OLDFILES 8 // load v:oldfiles
// flags for buf_freeall()
-#define BFA_DEL 1 // buffer is going to be deleted
-#define BFA_WIPE 2 // buffer is going to be wiped out
-#define BFA_KEEP_UNDO 4 // do not free undo information
+#define BFA_DEL 1 // buffer is going to be deleted
+#define BFA_WIPE 2 // buffer is going to be wiped out
+#define BFA_KEEP_UNDO 4 // do not free undo information
+#define BFA_IGNORE_ABORT 8 // do not abort for aborting()
// direction for nv_mousescroll() and ins_mousescroll()
#define MSCR_DOWN 0 // DOWN must be FALSE