]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix merge error in doc-view-pdf/ps->png
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 28 Jan 2022 13:47:15 +0000 (14:47 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 28 Jan 2022 13:47:15 +0000 (14:47 +0100)
* lisp/doc-view.el (doc-view-pdf/ps->png): Fix merge error from
previous epub patch.

lisp/doc-view.el

index b222096ac684c1ead990a7e04839428139a47d72..4979a2c0e2478a308057e59b0e4746f075521b5d 100644 (file)
@@ -1217,7 +1217,8 @@ is named like ODF with the extension turned to pdf."
   "Convert PDF-PS to PNG asynchronously."
   (funcall
    (pcase doc-view-doc-type
-     ((or 'pdf 'odf) doc-view-pdf->png-converter-function)
+     ((or 'pdf 'odf 'epub 'cbz 'fb2 'xps 'oxps)
+      doc-view-pdf->png-converter-function)
      ('djvu #'doc-view-djvu->tiff-converter-ddjvu)
      (_ #'doc-view-ps->png-converter-ghostscript))
    pdf-ps png nil