1
0
forked from aniani/vim

updated for version 7.3.869

Problem:    bufwinnr() matches buffers in other tabs.
Solution:   For bufwinnr() and ? only match buffers in the current tab.
            (Alexey Radkov)
This commit is contained in:
Bram Moolenaar
2013-03-19 14:25:54 +01:00
parent b59494cab1
commit 0c279bbb9c
7 changed files with 40 additions and 16 deletions

View File

@@ -2645,7 +2645,8 @@ do_one_cmd(cmdlinep, sourcing,
while (p > ea.arg && vim_iswhite(p[-1]))
--p;
}
ea.line2 = buflist_findpat(ea.arg, p, (ea.argt & BUFUNL) != 0, FALSE);
ea.line2 = buflist_findpat(ea.arg, p, (ea.argt & BUFUNL) != 0,
FALSE, FALSE);
if (ea.line2 < 0) /* failed */
goto doend;
ea.addr_count = 1;