From: Richard M. Stallman Date: Sat, 22 May 2004 07:38:06 +0000 (+0000) Subject: (gs-options): Add -dSAFER. Mark it risky. X-Git-Tag: ttn-vms-21-2-B4~6109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a1e88faed05db277f3c0f95d20dff8c198b1b2c;p=emacs.git (gs-options): Add -dSAFER. Mark it risky. --- diff --git a/lisp/gs.el b/lisp/gs.el index f160dca197a..284b18251ec 100644 --- a/lisp/gs.el +++ b/lisp/gs.el @@ -39,12 +39,14 @@ (defvar gs-options '("-q" ;"-dNOPAUSE" + "-dSAFER" "-dBATCH" "-sDEVICE=" "") "List of command line arguments to pass to Ghostscript. Arguments may contain place-holders `' for the name of the input file, and `' 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 `'." option (replace-regexp-in-string "" file option))) gs-options)) - ;; The GHOSTVIEW property (taken from gv 3.5.8). ;; ;; Type: