diff --git a/commit-patch-buffer.el b/commit-patch-buffer.el index d8717e5..481a0cf 100644 --- a/commit-patch-buffer.el +++ b/commit-patch-buffer.el @@ -36,9 +36,9 @@ (with-current-buffer output-buffer (erase-buffer) (let* ((default-directory ,directory) - (status (call-process "commit-patch" nil + (status (process-file "commit-patch" patch output-buffer 'display - "-m" comment patch))) + "-m" comment))) (if (not (eq status 0)) (message "Commit patch failed with a status of '%S' (%S)." status patch) (mapc (lambda (buf) (with-current-buffer buf