1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

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

This commit is contained in:
Richard M. Stallman 2004-05-22 07:38:06 +00:00
parent 7d57db2916
commit 2a1e88faed

View File

@ -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: