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_getln.c | |
parent | f5f4b6cb5f6174458848d2fbc0388379222c8a0f (diff) | |
download | vim-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/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 769dcb836..51433f1ec 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -4372,7 +4372,7 @@ open_cmdwin(void) // win_close() may have already wiped the buffer when 'bh' is // set to 'wipe' if (bufref_valid(&bufref)) - close_buffer(NULL, bufref.br_buf, DOBUF_WIPE, FALSE); + close_buffer(NULL, bufref.br_buf, DOBUF_WIPE, FALSE, FALSE); // Restore window sizes. win_size_restore(&winsizes); |