Match errors at the current buffer number.

Does nothing if buffer number is omitted from the error.