diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-14 16:18:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-14 16:18:15 +0100 |
commit | a6e8f888e7fc31b8ab7233509254fb2e2fe4089f (patch) | |
tree | cef20e90b6736c286442b40a1169aed2263ec984 /src/ex_cmds.c | |
parent | f5f4b6cb5f6174458848d2fbc0388379222c8a0f (diff) |
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/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 45c733bbae..4910491944 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -2742,7 +2742,7 @@ do_ecmd( // oldwin->w_buffer to NULL. u_sync(FALSE); close_buffer(oldwin, curbuf, - (flags & ECMD_HIDE) ? 0 : DOBUF_UNLOAD, FALSE); + (flags & ECMD_HIDE) ? 0 : DOBUF_UNLOAD, FALSE, FALSE); the_curwin->w_closing = FALSE; --buf->b_locked; |