Mercurial > vim
comparison src/proto/buffer.pro @ 22713:e871a824efc9 v8.2.1905
patch 8.2.1905: the wininfo list may contain stale entries
Commit: https://github.com/vim/vim/commit/4882d983397057ea91c584c5a54aaccf15016d18
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 25 17:55:09 2020 +0100
patch 8.2.1905: the wininfo list may contain stale entries
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 25 Oct 2020 18:00:04 +0100 |
parents | 050f5eaa9e50 |
children | 92a100fc5e17 |
comparison
equal
deleted
inserted
replaced
22712:82bfe1464940 | 22713:e871a824efc9 |
---|---|
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, int ignore_abort); | 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 free_wininfo(wininfo_T *wip); | |
11 void goto_buffer(exarg_T *eap, int start, int dir, int count); | 12 void goto_buffer(exarg_T *eap, int start, int dir, int count); |
12 void handle_swap_exists(bufref_T *old_curbuf); | 13 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); | 14 char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit); |
14 int do_buffer(int action, int start, int dir, int count, int forceit); | 15 int do_buffer(int action, int start, int dir, int count, int forceit); |
15 void set_curbuf(buf_T *buf, int action); | 16 void set_curbuf(buf_T *buf, int action); |