Mercurial > vim
comparison src/proto/buffer.pro @ 18886:050f5eaa9e50 v8.2.0004
patch 8.2.0004: get E685 and E931 if buffer reload is interrupted
Commit: https://github.com/vim/vim/commit/a6e8f888e7fc31b8ab7233509254fb2e2fe4089f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 14 16:18:15 2019 +0100
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 https://github.com/vim/vim/issues/5361)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Dec 2019 16:30:04 +0100 |
parents | cf8e0c7e0cb9 |
children | e871a824efc9 |
comparison
equal
deleted
inserted
replaced
18885:f4852c310de1 | 18886:050f5eaa9e50 |
---|---|
3 void buffer_ensure_loaded(buf_T *buf); | 3 void buffer_ensure_loaded(buf_T *buf); |
4 int open_buffer(int read_stdin, exarg_T *eap, int flags); | 4 int open_buffer(int read_stdin, exarg_T *eap, int flags); |
5 void set_bufref(bufref_T *bufref, buf_T *buf); | 5 void set_bufref(bufref_T *bufref, buf_T *buf); |
6 int bufref_valid(bufref_T *bufref); | 6 int bufref_valid(bufref_T *bufref); |
7 int buf_valid(buf_T *buf); | 7 int buf_valid(buf_T *buf); |
8 void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last); | 8 void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort); |
9 void buf_clear_file(buf_T *buf); | 9 void buf_clear_file(buf_T *buf); |
10 void buf_freeall(buf_T *buf, int flags); | 10 void buf_freeall(buf_T *buf, int flags); |
11 void goto_buffer(exarg_T *eap, int start, int dir, int count); | 11 void goto_buffer(exarg_T *eap, int start, int dir, int count); |
12 void handle_swap_exists(bufref_T *old_curbuf); | 12 void handle_swap_exists(bufref_T *old_curbuf); |
13 char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit); | 13 char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit); |