Commit 3cb166ad authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Improve the default value of 'doc-view-ghostscript-program'

* lisp/doc-view.el (doc-view-ghostscript-program): Make the
default value dependent on the underlying OS.  (Bug#36357)
parent 64684356
Pipeline #2262 failed with stage
in 52 minutes
......@@ -152,9 +152,15 @@
:group 'multimedia
:prefix "doc-view-")
(defcustom doc-view-ghostscript-program "gs"
(defcustom doc-view-ghostscript-program
((memq system-type '(windows-nt ms-dos))
"Program to convert PS and PDF files to PNG."
:type 'file)
:type 'file
:version "27.1")
(defcustom doc-view-pdfdraw-program
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment