aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2014-06-02 16:05:35 +0200
committerMichael Albinus2014-06-02 16:05:35 +0200
commitbcb1a5bacd49eb8f27db1b33a867d949ba249b0e (patch)
tree20e34e74211527f4f93872a50d530a4662bc4896
parent1924ea8c2970a51f30e75ff370e61313e35b3a64 (diff)
downloademacs-bcb1a5bacd49eb8f27db1b33a867d949ba249b0e.tar.gz
emacs-bcb1a5bacd49eb8f27db1b33a867d949ba249b0e.zip
* net/tramp.el (with-tramp-progress-reporter): Add more traces.
-rw-r--r--lisp/net/tramp.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 9be0cbe10a9..d5678d826b6 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1673,7 +1673,11 @@ without a visible progress reporter."
1673 #'tramp-progress-reporter-update pr))))))) 1673 #'tramp-progress-reporter-update pr)))))))
1674 (unwind-protect 1674 (unwind-protect
1675 ;; Execute the body. 1675 ;; Execute the body.
1676 (prog1 (progn ,@body) (setq cookie "done")) 1676 (prog1
1677 (condition-case err
1678 (progn ,@body)
1679 (error (tramp-message ,vec 6 "%s" (error-message-string err))))
1680 (setq cookie "done"))
1677 ;; Stop progress reporter. 1681 ;; Stop progress reporter.
1678 (if tm (tramp-compat-funcall 'cancel-timer tm)) 1682 (if tm (tramp-compat-funcall 'cancel-timer tm))
1679 (tramp-message ,vec ,level "%s...%s" ,message cookie) 1683 (tramp-message ,vec ,level "%s...%s" ,message cookie)