From 82d1c469c3e8fdb5de03170243aaa0420943f5d7 Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Mon, 24 Aug 2009 19:05:12 -0700 Subject: [PATCH] [commit-patch-buffer.el] Make tramp work by using process-file and passing patch in on stdin. --- commit-patch-buffer.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.51.2