]> git.eshelyaron.com Git - emacs.git/commit
Add support for EPUB, CBZ, FB2 and (O)XPS extension to doc view
authorDaniel Nicolai <dalanicolai@gmail.com>
Thu, 27 Jan 2022 16:03:38 +0000 (17:03 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 27 Jan 2022 16:03:38 +0000 (17:03 +0100)
commitd633db5189f335873a03544f9f41dcaf77c8e31d
tree1c6659df6186fd78ffc294846d4a372f0cafc558
parentb9239954b60c1c86e64ba1047eb8b48310ad4072
Add support for EPUB, CBZ, FB2 and (O)XPS extension to doc view

* doc/emacs/misc.texi (Document View): Add requirements for new
extensions (i.e. mutool).

* lisp/doc-view.el (doc-view): Additionally update preliminary comment
(doc-view-custom-set-epub-font-size): redraw image after setting
(doc-view-unoconv-program): Put code all on one line
(doc-view-doc-type): Update docstring.
(doc-view-kill-proc): Fix comment indentation
(doc-view-mode-p):
Add check for new extensions and alternative check for PDF
(doc-view-pdf/ps->png): Associate new extension with png converter
(doc-view-convert-current-doc): Handle new extensions like PDF's
(doc-view-set-doc-type): Set correct doc-type for new extensions.

* lisp/files.el (auto-mode-alist):
Associate new extension types with doc-view.
doc/emacs/misc.texi
lisp/doc-view.el
lisp/files.el