1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

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)
This commit is contained in:
Eli Zaretskii 2019-07-06 14:49:23 +03:00
parent 6468435659
commit 3cb166ad26

View File

@ -152,9 +152,15 @@
:group 'multimedia
:prefix "doc-view-")
(defcustom doc-view-ghostscript-program "gs"
(defcustom doc-view-ghostscript-program
(cond
((memq system-type '(windows-nt ms-dos))
"gswin32c")
(t
"gs"))
"Program to convert PS and PDF files to PNG."
:type 'file)
:type 'file
:version "27.1")
(defcustom doc-view-pdfdraw-program
(cond