0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.2972: "%bd" tries to delete popup window buffers, which fails

Problem:    "%bd" tries to delete popup window buffers, which fails. (Ralf
            Schandl)
Solution:   Do not try to delete a popup window buffer. (closes #8349)
This commit is contained in:
Bram Moolenaar
2021-06-10 21:07:48 +02:00
parent 544a38e44d
commit 7b4f76c030
4 changed files with 155 additions and 123 deletions

View File

@@ -994,6 +994,10 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
#define DOBUF_LAST 2 // "count" buffer from last buffer
#define DOBUF_MOD 3 // "count" mod. buffer from current buffer
// Values for flags argument of do_buffer()
#define DOBUF_FORCEIT 1 // :cmd!
#define DOBUF_NOPOPUP 2 // skip popup window buffers
// Values for sub_cmd and which_pat argument for search_regcomp()
// Also used for which_pat argument for searchit()
#define RE_SEARCH 0 // save/use pat in/from search_pattern