Commit 2a1e88fa authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(gs-options): Add -dSAFER. Mark it risky.

parent 7d57db29
......@@ -39,12 +39,14 @@
(defvar gs-options
'("-q"
;"-dNOPAUSE"
"-dSAFER"
"-dBATCH"
"-sDEVICE=<device>"
"<file>")
"List of command line arguments to pass to Ghostscript.
Arguments may contain place-holders `<file>' for the name of the
input file, and `<device>' for the device to use.")
(put 'gs-options 'risky-local-variable t)
(defun gs-options (device file)
"Return a list of command line options with place-holders replaced.
......@@ -55,7 +57,6 @@ FILE is the value to substitute for the place-holder `<file>'."
option (replace-regexp-in-string "<file>" file option)))
gs-options))
;; The GHOSTVIEW property (taken from gv 3.5.8).
;;
;; Type:
......
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