diff options
author | Andreas Schwab <schwab@suse.de> | 2005-02-27 18:38:48 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2005-02-27 18:38:48 +0000 |
commit | c58447fd8cb99fcc53df85da7c20b09620f64a1c (patch) | |
tree | 2594a26ce0c254b554a0a40ae1a384bedc874a26 /lisp/vc.el | |
parent | b71c9e75543263ffd228f36e874377fa39f98b16 (diff) | |
download | emacs-c58447fd8cb99fcc53df85da7c20b09620f64a1c.tar.gz |
(vc-do-command): Don't run command asynchronously when
operating in a remote directory.
Diffstat (limited to 'lisp/vc.el')
-rw-r--r-- | lisp/vc.el | 3 |
1 files changed, 3 insertions, 0 deletions
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))) |