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:
parent
6468435659
commit
3cb166ad26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user