[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3ffa13d0aa: Use the correct converter for odf files in doc-view
From: |
Lars Ingebrigtsen |
Subject: |
master 3ffa13d0aa: Use the correct converter for odf files in doc-view |
Date: |
Fri, 21 Jan 2022 05:26:02 -0500 (EST) |
branch: master
commit 3ffa13d0aa00f463e134c568c2d52fb03637a108
Author: Shuguang Sun <shuguang79@qq.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
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 5b462b24f5..5e160f5dff 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 3ffa13d0aa: Use the correct converter for odf files in doc-view,
Lars Ingebrigtsen <=