diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-06 12:25:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-06 12:25:56 +0100 |
commit | 16896a10199572ff05149786868ff402aa8e31ea (patch) | |
tree | ed5a2a1e1510795c3c433c92ac8db6adff460438 /src/if_perl.xs | |
parent | 63e82db6fc910b2d8f1cd018894e50e8b4448155 (diff) | |
download | vim-git-16896a10199572ff05149786868ff402aa8e31ea.tar.gz |
patch 8.0.1576: Perl VIM::Buffers() does not find every bufferv8.0.1576
Problem: Perl VIM::Buffers() does not find every buffer.
Solution: Also find unlisted buffer by number or name. (Chris Weyl,
closes #2692)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r-- | src/if_perl.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs index 2e6004bb9..7b45033ff 100644 --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -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; } |