changeset 9943:af161c1f530a v7.4.2245

commit https://github.com/vim/vim/commit/77401add71853d7a3da7ccc489f2a1bca58551ec Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 24 00:12:12 2016 +0200 patch 7.4.2245 Problem: Filter test fails. Solution: Include missing changes.
author Christian Brabandt <cb@256bit.org>
date Wed, 24 Aug 2016 00:15:06 +0200
parents 1f4a995683e0
children ff39af40ed2b
files src/buffer.c src/version.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2931,12 +2931,14 @@ buflist_list(exarg_T *eap)
 		|| (vim_strchr(eap->arg, '#')
 		      && (buf == curbuf || curwin->w_alt_fnum != buf->b_fnum)))
 	    continue;
-	msg_putchar('\n');
 	if (buf_spname(buf) != NULL)
 	    vim_strncpy(NameBuff, buf_spname(buf), MAXPATHL - 1);
 	else
 	    home_replace(buf, buf->b_fname, NameBuff, MAXPATHL, TRUE);
-
+	if (message_filtered(NameBuff))
+	    continue;
+
+	msg_putchar('\n');
 	len = vim_snprintf((char *)IObuff, IOSIZE - 20, "%3d%c%c%c%c%c \"%s\"",
 		buf->b_fnum,
 		buf->b_p_bl ? ' ' : 'u',
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2245,
+/**/
     2244,
 /**/
     2243,