# HG changeset patch # User Nick Roberts # Date 1152663854 0 # Node ID 682a51aa586ab08b889f227d33fdd841310bf797 # Parent 79ed8e1b0d194417ffe076f2663abca0c3b8e8d3 (thumbs-call-convert): Use shell-command-switch. diff -r 79ed8e1b0d19 -r 682a51aa586a lisp/thumbs.el --- a/lisp/thumbs.el Wed Jul 12 00:23:48 2006 +0000 +++ b/lisp/thumbs.el Wed Jul 12 00:24:14 2006 +0000 @@ -256,7 +256,7 @@ filein (or output-format "jpeg") fileout))) - (call-process shell-file-name nil nil nil "-c" command))) + (call-process shell-file-name nil nil nil shell-command-switch command))) (defun thumbs-new-image-size (s increment) "New image (a cons of width x height)."