Mercurial > emacs
changeset 55725:00841464e6d8
(gs-options): Add -dSAFER. Mark it risky.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 22 May 2004 07:38:06 +0000 |
parents | 2a017ad95bb7 |
children | 9dbff3d047a0 |
files | lisp/gs.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gs.el Sat May 22 01:58:25 2004 +0000 +++ b/lisp/gs.el Sat May 22 07:38:06 2004 +0000 @@ -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 @@ option (replace-regexp-in-string "<file>" file option))) gs-options)) - ;; The GHOSTVIEW property (taken from gv 3.5.8). ;; ;; Type: