From cea34e5f8c9d6cbeb2e6509e4448add116cd5833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vanicat?= Date: Sat, 12 Sep 2009 21:43:19 +0200 Subject: [PATCH] [Tramp] Two more fix, make staging with magit on tramp dir possible --- magit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magit.el b/magit.el index 7286d4ed..bfbfe9bc 100644 --- a/magit.el +++ b/magit.el @@ -1021,7 +1021,7 @@ Many Magit faces inherit from this one by default." "\n") (cond (nowait (setq magit-process - (apply 'start-process cmd buf cmd args)) + (apply 'start-file-process cmd buf cmd args)) (set-process-sentinel magit-process 'magit-process-sentinel) (set-process-filter magit-process 'magit-process-filter) (when input @@ -1054,7 +1054,7 @@ Many Magit faces inherit from this one by default." (magit-need-refresh magit-process-client-buffer)) (t (setq successp - (equal (apply 'call-process cmd nil buf nil args) 0)) + (equal (apply 'process-file cmd nil buf nil args) 0)) (magit-set-mode-line-process nil) (magit-need-refresh magit-process-client-buffer)))) (or successp