]> git.eshelyaron.com Git - emacs.git/commitdiff
(thumbs-call-convert): Use shell-command-switch.
authorNick Roberts <nickrob@snap.net.nz>
Wed, 12 Jul 2006 00:24:14 +0000 (00:24 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Wed, 12 Jul 2006 00:24:14 +0000 (00:24 +0000)
lisp/thumbs.el

index ff5fcf2b33c444df670735138a58ae13a95c37a5..e9a640973bb822c18ddec258f26b659618a203dc 100644 (file)
@@ -256,7 +256,7 @@ ACTION-PREFIX is the symbol to place before the ACTION command
                         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)."