aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/doc-view.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 7ab8539052a..78895ebd7a6 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -152,9 +152,15 @@
152 :group 'multimedia 152 :group 'multimedia
153 :prefix "doc-view-") 153 :prefix "doc-view-")
154 154
155(defcustom doc-view-ghostscript-program "gs" 155(defcustom doc-view-ghostscript-program
156 (cond
157 ((memq system-type '(windows-nt ms-dos))
158 "gswin32c")
159 (t
160 "gs"))
156 "Program to convert PS and PDF files to PNG." 161 "Program to convert PS and PDF files to PNG."
157 :type 'file) 162 :type 'file
163 :version "27.1")
158 164
159(defcustom doc-view-pdfdraw-program 165(defcustom doc-view-pdfdraw-program
160 (cond 166 (cond