summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-14 16:18:15 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-14 16:18:15 +0100
commita6e8f888e7fc31b8ab7233509254fb2e2fe4089f (patch)
treecef20e90b6736c286442b40a1169aed2263ec984 /src/misc2.c
parentf5f4b6cb5f6174458848d2fbc0388379222c8a0f (diff)
downloadvim-git-a6e8f888e7fc31b8ab7233509254fb2e2fe4089f.tar.gz
patch 8.2.0004: get E685 and E931 if buffer reload is interruptedv8.2.0004
Problem: Get E685 and E931 if buffer reload is interrupted. Solution: Do not abort deleting a dummy buffer. (closes #5361)
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 80731f02a..ce767984f 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1185,7 +1185,7 @@ free_all_mem(void)
set_bufref(&bufref, buf);
nextbuf = buf->b_next;
- close_buffer(NULL, buf, DOBUF_WIPE, FALSE);
+ close_buffer(NULL, buf, DOBUF_WIPE, FALSE, FALSE);
if (bufref_valid(&bufref))
buf = nextbuf; /* didn't work, try next one */
else