>> Would this imply a change in 'buffer-match-p'? > > Indeed, here it a simple change in 'buffer-match-p' > that will support this case: Ok, here is a complete patch with documentation: