> So, you suggest making the option a list of strings instead of one
> string? I think you will have to give me an example, because I cannot
> see how that would make any difference to using one string, more than
> to complicate things for the user (instead of having to configure one
> option string, there would be several).
The call could look like
(apply 'call-process
tumme-cmd-create-temp-image-program
nil t nil
(mapcar
(lambda (s) (format-spec
s
(list
(cons ?x size-x)
(cons ?y size-y)
(cons ?f (tumme-quote-bad-characters file))
(cons ?t (tumme-quote-bad-characters new-file)))))
tumme-cmd-create-temp-image-options))
There's no /bin/sh involved, so no interpretation of quotes, so no need
for quoting.
Stefan
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug