Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2a1e88fa
Commit
2a1e88fa
authored
May 22, 2004
by
Richard M. Stallman
Browse files
(gs-options): Add -dSAFER. Mark it risky.
parent
7d57db29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/gs.el
lisp/gs.el
+2
-1
No files found.
lisp/gs.el
View file @
2a1e88fa
...
...
@@ -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 @@ 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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment