emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/net/tramp.el,v


From: Michael Albinus
Subject: [Emacs-diffs] Changes to emacs/lisp/net/tramp.el,v
Date: Mon, 28 Jan 2008 21:24:50 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Michael Albinus <albinus>       08/01/28 21:24:49

Index: tramp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/tramp.el,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -b -r1.172 -r1.173
--- tramp.el    27 Jan 2008 16:20:05 -0000      1.172
+++ tramp.el    28 Jan 2008 21:24:48 -0000      1.173
@@ -3781,7 +3781,9 @@
   (command &optional output-buffer error-buffer)
   "Like `shell-command' for Tramp files."
   (let* ((asynchronous (string-match "[ \t]*&[ \t]*\\'" command))
-        (args (split-string (substring command 0 asynchronous) " "))
+        ;; We cannot use `shell-file-name' and `shell-command-switch',
+        ;; they are variables of the local host.
+        (args (list "/bin/sh" "-c" (substring command 0 asynchronous)))
         (output-buffer
          (cond
           ((bufferp output-buffer) output-buffer)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]