Permalink
Browse files

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)
  • Loading branch information...
brammool committed Mar 6, 2018
1 parent 63e82db commit 16896a10199572ff05149786868ff402aa8e31ea
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/if_perl.xs
  2. +2 −0 src/version.c
@@ -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;
}
@@ -766,6 +766,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1576,
/**/
1575,
/**/

0 comments on commit 16896a1

Please sign in to comment.