forked from Github/emacs
Use the correct converter for odf files in doc-view
* lisp/doc-view.el (doc-view-pdf/ps->png): Use the correct converter for odf files (bug#53354).
This commit is contained in:
parent
1e54833e8a
commit
3ffa13d0aa
1 changed files with 1 additions and 1 deletions
|
|
@ -1189,7 +1189,7 @@ is named like ODF with the extension turned to pdf."
|
|||
"Convert PDF-PS to PNG asynchronously."
|
||||
(funcall
|
||||
(pcase doc-view-doc-type
|
||||
('pdf doc-view-pdf->png-converter-function)
|
||||
((or 'pdf 'odf) doc-view-pdf->png-converter-function)
|
||||
('djvu #'doc-view-djvu->tiff-converter-ddjvu)
|
||||
(_ #'doc-view-ps->png-converter-ghostscript))
|
||||
pdf-ps png nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue