Function: gs-options

gs-options is a byte-compiled function defined in gs.el.gz.

Signature

(gs-options DEVICE FILE)

Documentation

Return a list of command line options with place-holders replaced.

DEVICE is the value to substitute for the place-holder <device>, FILE is the value to substitute for the place-holder <file>.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/gs.el.gz
(defun gs-options (device file)
  "Return a list of command line options with place-holders replaced.
DEVICE is the value to substitute for the place-holder `<device>',
FILE is the value to substitute for the place-holder `<file>'."
  (mapcar #'(lambda (option)
	      (setq option (replace-regexp-in-string "<device>" device option)
		    option (replace-regexp-in-string "<file>" file option)))
	  gs-options))