1
0
forked from aniani/vim

patch 9.0.0272: BufReadCmd not triggered when loading a "nofile" buffer

Problem:    BufReadCmd not triggered when loading a "nofile" buffer. (Maxim
            Kim)
Solution:   Call readfile() but bail out before reading a file.
            (closes #10983)
This commit is contained in:
Bram Moolenaar
2022-08-26 11:55:01 +01:00
parent 9b7d2a9596
commit b1d2c8116c
5 changed files with 26 additions and 3 deletions

View File

@@ -723,6 +723,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
272,
/**/
271,
/**/