[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b3ff490538: Fix ODF file detection in doc-view-mode
From: |
Lars Ingebrigtsen |
Subject: |
master b3ff490538: Fix ODF file detection in doc-view-mode |
Date: |
Sat, 16 Apr 2022 05:21:39 -0400 (EDT) |
branch: master
commit b3ff4905388834994ff26d9d033d6bc62b094c1c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix ODF file detection in doc-view-mode
* lisp/doc-view.el (doc-view-set-doc-type): Fix ODF file detection
(bug#54947).
---
lisp/doc-view.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 5b07d75f6d..10adc9fcc9 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -1947,8 +1947,7 @@ If BACKWARD is non-nil, jump to the previous match."
;; zip-archives, so that this same association is used for
;; cbz files. This is fine, as cbz files should be handled
;; like epub anyway.
- ((looking-at "PK") '(epub))
- ))))
+ ((looking-at "PK") '(epub odf))))))
(setq-local
doc-view-doc-type
(car (or (nreverse (seq-intersection name-types content-types #'eq))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b3ff490538: Fix ODF file detection in doc-view-mode,
Lars Ingebrigtsen <=