emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r117232: * net/tramp.el (with-tramp-progress-reporte


From: Michael Albinus
Subject: [Emacs-diffs] trunk r117232: * net/tramp.el (with-tramp-progress-reporter): Add more traces.
Date: Mon, 02 Jun 2014 14:05:41 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117232
revision-id: address@hidden
parent: address@hidden
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Mon 2014-06-02 16:05:35 +0200
message:
  * net/tramp.el (with-tramp-progress-reporter): 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 13:51:35 +0000
+++ b/lisp/net/tramp.el 2014-06-02 14:05:35 +0000
@@ -1673,7 +1673,11 @@
                                  #'tramp-progress-reporter-update pr)))))))
        (unwind-protect
            ;; Execute the body.
-           (prog1 (progn ,@body) (setq cookie "done"))
+           (prog1
+              (condition-case err
+                  (progn ,@body)
+                (error (tramp-message ,vec 6 "%s" (error-message-string err))))
+            (setq cookie "done"))
          ;; Stop progress reporter.
          (if tm (tramp-compat-funcall 'cancel-timer tm))
          (tramp-message ,vec ,level "%s...%s" ,message cookie)


reply via email to

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