]> code.delx.au - gnu-emacs/commitdiff
(gs-options): Add -dSAFER. Mark it risky.
authorRichard M. Stallman <rms@gnu.org>
Sat, 22 May 2004 07:38:06 +0000 (07:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 22 May 2004 07:38:06 +0000 (07:38 +0000)
lisp/gs.el

index f160dca197ac8e517333fd3bed3858126af5611e..284b18251ec6ccb4d6c6ac06b9ff1066af80f5ac 100644 (file)
 (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: