]> code.delx.au - gnu-emacs/blobdiff - lisp/thumbs.el
From Jeff Miller <jmiller at cablespeed.com> (tiny change)
[gnu-emacs] / lisp / thumbs.el
index bcab502b0f4597bf77c0927b979fe306cd463b78..e9a640973bb822c18ddec258f26b659618a203dc 100644 (file)
@@ -1,6 +1,6 @@
 ;;; thumbs.el --- Thumbnails previewer for images files
 
-;; Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
 
 ;; Author: Jean-Philippe Theberge <jphiltheberge@videotron.ca>
 ;; Maintainer: FSF
@@ -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)."