orgtre / qpdf.el

A transient Emacs wrapper for qpdf
5 stars 2 forks source link

Fix: Quote outfile only if outfile exists #2

Closed vedang closed 2 years ago

vedang commented 2 years ago

This change fixes the bug pointed out in vedang/pdf-tools#149.

When --replace-input is used and no outfile is provided, an empty quote ('') is inserted into the call to qpdf. This change guards against that.

orgtre commented 2 years ago

Thanks!