Mercurial > vim
comparison src/proto/buffer.pro @ 17823:7e6b7a4f13bc v8.1.1908
patch 8.1.1908: every popup window consumes a buffer number
Commit: https://github.com/vim/vim/commit/00b0d6d8dc2c04b3cb26ea3c3d58527939f01af6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 21 22:25:30 2019 +0200
patch 8.1.1908: every popup window consumes a buffer number
Problem: Every popup window consumes a buffer number.
Solution: Recycle buffers only used for popup windows. Do not list popup
window buffers.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Aug 2019 22:30:04 +0200 |
parents | 0f7ae8010787 |
children | cf8e0c7e0cb9 |
comparison
equal
deleted
inserted
replaced
17822:cde49c54b3f0 | 17823:7e6b7a4f13bc |
---|---|
1 /* buffer.c */ | 1 /* buffer.c */ |
2 int get_highest_fnum(void); | |
2 void buffer_ensure_loaded(buf_T *buf); | 3 void buffer_ensure_loaded(buf_T *buf); |
3 int open_buffer(int read_stdin, exarg_T *eap, int flags); | 4 int open_buffer(int read_stdin, exarg_T *eap, int flags); |
4 void set_bufref(bufref_T *bufref, buf_T *buf); | 5 void set_bufref(bufref_T *bufref, buf_T *buf); |
5 int bufref_valid(bufref_T *bufref); | 6 int bufref_valid(bufref_T *bufref); |
6 int buf_valid(buf_T *buf); | 7 int buf_valid(buf_T *buf); |