mirror of
https://github.com/vim/vim.git
synced 2025-10-17 07:44:28 -04:00
patch 8.0.1576: Perl VIM::Buffers() does not find every buffer
Problem: Perl VIM::Buffers() does not find every buffer. Solution: Also find unlisted buffer by number or name. (Chris Weyl, closes #2692)
This commit is contained in:
@@ -1558,7 +1558,7 @@ Buffers(...)
|
|||||||
|
|
||||||
pat = (char_u *)SvPV(sv, len);
|
pat = (char_u *)SvPV(sv, len);
|
||||||
++emsg_off;
|
++emsg_off;
|
||||||
b = buflist_findpat(pat, pat+len, FALSE, FALSE, FALSE);
|
b = buflist_findpat(pat, pat + len, TRUE, FALSE, FALSE);
|
||||||
--emsg_off;
|
--emsg_off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -766,6 +766,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1576,
|
||||||
/**/
|
/**/
|
||||||
1575,
|
1575,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user