emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r117230: * net/tramp.el (tramp-call-process): Add mo


From: Michael Albinus
Subject: [Emacs-diffs] trunk r117230: * net/tramp.el (tramp-call-process): Add more traces.
Date: Mon, 02 Jun 2014 11:35:45 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117230
revision-id: address@hidden
parent: address@hidden
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Mon 2014-06-02 13:35:40 +0200
message:
  * net/tramp.el (tramp-call-process): Add more traces.
modified:
  lisp/net/tramp.el              tramp.el-20091113204419-o5vbwnq5f7feedwu-2427
=== modified file 'lisp/net/tramp.el'
--- a/lisp/net/tramp.el 2014-06-02 09:58:50 +0000
+++ b/lisp/net/tramp.el 2014-06-02 11:35:40 +0000
@@ -4124,18 +4124,17 @@
 Furthermore, traces are written with verbosity of 6."
   (let ((v (vector tramp-current-method tramp-current-user tramp-current-host
                   nil nil))
-       (result 1))
+       result)
     (tramp-message
      v 6 "`%s %s' %s %s"
      program (mapconcat 'identity args " ") infile destination)
-    (when (executable-find program)
-      (with-temp-buffer
-       (setq result
-             (apply
-              'call-process program infile (or destination t) display args))
-       (with-current-buffer
-           (if (bufferp destination) destination (current-buffer))
-         (tramp-message v 6 "%d\n%s" result (buffer-string)))))
+    (with-temp-buffer
+      (setq result
+           (apply
+            'call-process program infile (or destination t) display args))
+      (with-current-buffer
+         (if (bufferp destination) destination (current-buffer))
+       (tramp-message v 6 "%d\n%s" result (buffer-string))))
     result))
 
 ;;;###tramp-autoload


reply via email to

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