From 2a1e88faed05db277f3c0f95d20dff8c198b1b2c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 22 May 2004 07:38:06 +0000 Subject: [PATCH] (gs-options): Add -dSAFER. Mark it risky. --- lisp/gs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.39.5