aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-05-22 07:38:06 +0000
committerRichard M. Stallman2004-05-22 07:38:06 +0000
commit2a1e88faed05db277f3c0f95d20dff8c198b1b2c (patch)
tree79ff0734593681f0b8318b1f6220825284423304
parent7d57db2916957d1ea8b8d1582d96de6fb9ecea05 (diff)
downloademacs-2a1e88faed05db277f3c0f95d20dff8c198b1b2c.tar.gz
emacs-2a1e88faed05db277f3c0f95d20dff8c198b1b2c.zip
(gs-options): Add -dSAFER. Mark it risky.
-rw-r--r--lisp/gs.el3
1 files changed, 2 insertions, 1 deletions
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 @@
39(defvar gs-options 39(defvar gs-options
40 '("-q" 40 '("-q"
41 ;"-dNOPAUSE" 41 ;"-dNOPAUSE"
42 "-dSAFER"
42 "-dBATCH" 43 "-dBATCH"
43 "-sDEVICE=<device>" 44 "-sDEVICE=<device>"
44 "<file>") 45 "<file>")
45 "List of command line arguments to pass to Ghostscript. 46 "List of command line arguments to pass to Ghostscript.
46Arguments may contain place-holders `<file>' for the name of the 47Arguments may contain place-holders `<file>' for the name of the
47input file, and `<device>' for the device to use.") 48input file, and `<device>' for the device to use.")
49(put 'gs-options 'risky-local-variable t)
48 50
49(defun gs-options (device file) 51(defun gs-options (device file)
50 "Return a list of command line options with place-holders replaced. 52 "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>'."
55 option (replace-regexp-in-string "<file>" file option))) 57 option (replace-regexp-in-string "<file>" file option)))
56 gs-options)) 58 gs-options))
57 59
58
59;; The GHOSTVIEW property (taken from gv 3.5.8). 60;; The GHOSTVIEW property (taken from gv 3.5.8).
60;; 61;;
61;; Type: 62;; Type: