From 1bf925a0ceb43f5472d63e1a8de456d19bb39b73 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Sun, 12 Nov 2023 12:31:39 -0500 Subject: [PATCH] Fix CBZ file detection in doc-view-mode * lisp/doc-view.el (doc-view-set-doc-type): Fix CBZ file detection This fix is almost identical to the previous fix for ODF file detection in bug#54947 which resulted in commit b3ff4905388834994ff26d9d033d6bc62b094c1c --- 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 fb51661caac..2fdb49f3e42 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -2133,7 +2133,7 @@ doc-view-set-doc-type ;; 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 odf)))))) + ((looking-at "PK") '(epub odf cbz)))))) (setq-local doc-view-doc-type (car (or (nreverse (seq-intersection name-types content-types #'eq)) -- 2.41.0