emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master d633db5189: Add support for EPUB, CBZ, FB2 and (O)XPS extensi


From: Stefan Monnier
Subject: Re: master d633db5189: Add support for EPUB, CBZ, FB2 and (O)XPS extension to doc view
Date: Thu, 27 Jan 2022 13:37:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>        (executable-find "ddjvu"))
> +        ((memq type '(epub cbz fb2 xps oxps))
> +         ;; first check if `doc-view-pdfdraw-program' is set to mutool
> +         (and (string= doc-view-pdfdraw-program "mutool")
> +              (executable-find "mutool")))

I think we should support the case where mutool is not in $PATH, so it
should be something like

       (and (<test-it's-mutool> doc-view-pdfdraw-program)
            (executable-find doc-view-pdfdraw-program)))

where the code to <test-it's-mutool> should be shared with that of
`doc-view-pdfdraw-program-subcommand`.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]