take &bufhidden option into account
Merge pull request #1 from kljohann/master

Take `&bufhidden` option into account