Skip to content

Commit

Permalink
patch 8.0.1576: Perl VIM::Buffers() does not find every buffer
Browse files Browse the repository at this point in the history
Problem:    Perl VIM::Buffers() does not find every buffer.
Solution:   Also find unlisted buffer by number or name. (Chris Weyl,
            closes #2692)
  • Loading branch information
brammool committed Mar 6, 2018
1 parent 63e82db commit 16896a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/if_perl.xs
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ Buffers(...)

pat = (char_u *)SvPV(sv, len);
++emsg_off;
b = buflist_findpat(pat, pat+len, FALSE, FALSE, FALSE);
b = buflist_findpat(pat, pat + len, TRUE, FALSE, FALSE);
--emsg_off;
}

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1576,
/**/
1575,
/**/
Expand Down

0 comments on commit 16896a1

Please sign in to comment.