Use mupdf in doc-view-mode if gs is not installed
* lisp/doc-view.el (doc-view-mode-p): Use mupdf to render PDF and related formats if gs is not installed (bug#52170).
This commit is contained in:
parent
247ed6ccbc
commit
e3351f6152
1 changed files with 4 additions and 3 deletions
|
@ -811,9 +811,10 @@ OpenDocument format)."
|
|||
(and doc-view-dvipdfm-program
|
||||
(executable-find doc-view-dvipdfm-program)))))
|
||||
((memq type '(postscript ps eps pdf))
|
||||
;; FIXME: allow mupdf here
|
||||
(and doc-view-ghostscript-program
|
||||
(executable-find doc-view-ghostscript-program)))
|
||||
(or (and doc-view-ghostscript-program
|
||||
(executable-find doc-view-ghostscript-program))
|
||||
(and doc-view-pdfdraw-program
|
||||
(executable-find doc-view-pdfdraw-program))))
|
||||
((eq type 'odf)
|
||||
(and doc-view-odf->pdf-converter-program
|
||||
(executable-find doc-view-odf->pdf-converter-program)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue