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);
|
||||
++emsg_off;
|
||||
b = buflist_findpat(pat, pat+len, FALSE, FALSE, FALSE);
|
||||
b = buflist_findpat(pat, pat + len, TRUE, FALSE, FALSE);
|
||||
--emsg_off;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user