From: Andreas Schwab Date: Sun, 27 Feb 2005 18:38:48 +0000 (+0000) Subject: (vc-do-command): Don't run command asynchronously when X-Git-Tag: ttn-vms-21-2-B4~2088 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c58447fd8cb99fcc53df85da7c20b09620f64a1c;p=emacs.git (vc-do-command): Don't run command asynchronously when operating in a remote directory. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 141eec983d9..e9cc351cec5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2005-02-27 Andreas Schwab + * vc.el (vc-do-command): Don't run command asynchronously when + operating in a remote directory. + * net/tramp.el (tramp-file-name-for-operation): Fix misapplied change from sync with Tramp 2.0.47. diff --git a/lisp/vc.el b/lisp/vc.el index 2daf100ff57..2e241e67f48 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -958,6 +958,9 @@ that is inserted into the command line before the filename." (mapconcat 'identity vc-path path-separator)) process-environment)) (w32-quote-process-args t)) + (if (and (eq okstatus 'async) (file-remote-p default-directory)) + ;; start-process does not support remote execution + (setq okstatus nil)) (if (eq okstatus 'async) (let ((proc (apply 'start-process command (current-buffer) command squeezed)))