mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +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
1 changed files with 8 additions and 2 deletions
|
|
@ -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 a new issue