Pass if current buffer has an empty name.

fixes issue #6