Nick Roberts <[EMAIL PROTECTED]> writes:

> If you replace the calls to shell-command with calls to call-process does
> that do what you want?
>
> (shell-command COMMAND) ->
> (call-process shell-file-name nil nil nil "-c" COMMAND)

Yes it does!  Thank you very much for your help.

This is the patch that implements your suggested change:

--- orig/lisp/tumme.el
+++ mod/lisp/tumme.el
@@ -1776,7 +1776,7 @@
                   (cons ?h height)
                   (cons ?f file)
                   (cons ?t new-file))))
-          (setq ret (shell-command command nil))
+          (setq ret (call-process shell-file-name nil nil nil "-c" command))
           (if (not (= 0 ret))
               (error "Could not resize image")))
       (copy-file file new-file t))


Thanks,
Andrea.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to