Fix DocView with DVI files
* lisp/doc-view.el (doc-view-pdf/ps->png): Use `doc-view-pdf->png-converter-function' for DVI files, too, since they are converted to PDF earlier.
This commit is contained in:
parent
c1382257aa
commit
1aaadc8aec
1 changed files with 1 additions and 1 deletions
|
@ -1328,7 +1328,7 @@ 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 '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))
|
||||
|
|
Loading…
Add table
Reference in a new issue