1
0
forked from aniani/vim

patch 8.2.4842: expand("%:p") is not empty when there is no buffer name

Problem:    expand("%:p") is not empty when there is no buffer name.
Solution:   When ignoring errors still return NULL. (closes #10311)
This commit is contained in:
Bram Moolenaar
2022-04-28 19:09:03 +01:00
parent a96edb736d
commit 211a5bb235
3 changed files with 12 additions and 6 deletions

View File

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