* Re: master d633db5189: Add support for EPUB, CBZ, FB2 and (O)XPS extension to doc view
[not found] ` <20220127160553.A5BA4C423B2@vcs2.savannah.gnu.org>
@ 2022-01-27 18:37 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2022-01-27 18:37 UTC (permalink / raw)
To: emacs-devel; +Cc: Daniel Nicolai
> (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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-27 18:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <164329954435.25786.14130195375700042279@vcs2.savannah.gnu.org>
[not found] ` <20220127160553.A5BA4C423B2@vcs2.savannah.gnu.org>
2022-01-27 18:37 ` master d633db5189: Add support for EPUB, CBZ, FB2 and (O)XPS extension to doc view Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).