projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
625d6da
)
Fix ODF file detection in doc-view-mode
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 16 Apr 2022 09:21:25 +0000
(11:21 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 16 Apr 2022 09:21:33 +0000
(11:21 +0200)
* lisp/doc-view.el (doc-view-set-doc-type): Fix ODF file detection
(bug#54947).
lisp/doc-view.el
patch
|
blob
|
history
diff --git
a/lisp/doc-view.el
b/lisp/doc-view.el
index 5b07d75f6d86d9f6c38223bf9fe6e255cffe773c..10adc9fcc9b46d101d1b68a2ad3b559ccf2df3b2 100644
(file)
--- 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))