To: vim_dev@googlegroups.com Subject: Patch 8.0.1576 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1576 Problem: Perl VIM::Buffers() does not find every buffer. Solution: Also find unlisted buffer by number or name. (Chris Weyl, closes #2692) Files: src/if_perl.xs *** ../vim-8.0.1575/src/if_perl.xs 2017-10-24 21:49:32.234837736 +0200 --- src/if_perl.xs 2018-03-06 12:22:50.945463780 +0100 *************** *** 1558,1564 **** pat = (char_u *)SvPV(sv, len); ++emsg_off; ! b = buflist_findpat(pat, pat+len, FALSE, FALSE, FALSE); --emsg_off; } --- 1558,1564 ---- pat = (char_u *)SvPV(sv, len); ++emsg_off; ! b = buflist_findpat(pat, pat + len, TRUE, FALSE, FALSE); --emsg_off; } *** ../vim-8.0.1575/src/version.c 2018-03-06 12:10:43.697795109 +0100 --- src/version.c 2018-03-06 12:25:34.316489486 +0100 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1576, /**/ -- ARTHUR: You are indeed brave Sir knight, but the fight is mine. BLACK KNIGHT: Had enough? ARTHUR: You stupid bastard. You havn't got any arms left. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///