From 2a9e7305a86b8ed53a06988d54d99600f6d80309 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Mon, 22 Jul 2024 13:25:49 +0200 Subject: [PATCH] Fix DocView with DVI files * lisp/doc-view.el (doc-view-pdf/ps->png): Use `doc-view-pdf->png-converter-function' for DVI too since they are converted to PDF ealier. --- lisp/doc-view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 65ac6e00768..e7d7ed4a862 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -1328,7 +1328,7 @@ doc-view-pdf/ps->png "Convert PDF-PS to PNG asynchronously." (funcall (pcase doc-view-doc-type - ((or 'pdf 'odf 'epub 'cbz 'fb2 'xps 'oxps) + ((or 'pdf 'odf 'epub 'cbz 'fb2 'xps 'oxps 'dvi) doc-view-pdf->png-converter-function) ('djvu #'doc-view-djvu->tiff-converter-ddjvu) (_ #'doc-view-ps->png-converter-ghostscript)) -- 2.45.2