Mercurial > vim
diff src/proto/buffer.pro @ 4236:23ce9a61bdc2 v7.3.869
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 19 Mar 2013 14:25:54 +0100 |
parents | 8115f449a574 |
children | 8edba3805d78 |
line wrap: on
line diff
--- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -17,7 +17,7 @@ int buflist_getfile __ARGS((int n, linen void buflist_getfpos __ARGS((void)); buf_T *buflist_findname_exp __ARGS((char_u *fname)); buf_T *buflist_findname __ARGS((char_u *ffname)); -int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode)); +int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode, int curtab_only)); int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options)); buf_T *buflist_findnr __ARGS((int nr)); char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail));