aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorMichael Albinus2014-06-02 20:36:47 +0200
committerMichael Albinus2014-06-02 20:36:47 +0200
commite915914b937f0190d77fc1490dfd7b543dd3c217 (patch)
tree9271b758088c78a5d1d6df13d06063faee7d27bf /lisp/net
parent5668fb88bf3731d39c4e958c8e79a549f789ce1e (diff)
downloademacs-e915914b937f0190d77fc1490dfd7b543dd3c217.tar.gz
emacs-e915914b937f0190d77fc1490dfd7b543dd3c217.zip
* net/tramp.el (with-tramp-progress-reporter): Remove traces.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/tramp.el12
1 files changed, 2 insertions, 10 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 36ee449659c..116db733865 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1673,18 +1673,10 @@ 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 1676 (prog1 (progn ,@body) (setq cookie "done"))
1677 (condition-case err
1678 (progn ,@body)
1679 (error
1680 (tramp-message ,vec 6 "%s" (error-message-string err))
1681 ;; Propagate the error.
1682 (signal (car err) (cdr err))))
1683 (setq cookie "done"))
1684 ;; Stop progress reporter. 1677 ;; Stop progress reporter.
1685 (if tm (tramp-compat-funcall 'cancel-timer tm)) 1678 (if tm (tramp-compat-funcall 'cancel-timer tm))
1686 (tramp-message ,vec ,level "%s...%s" ,message cookie) 1679 (tramp-message ,vec ,level "%s...%s" ,message cookie)))))
1687 (when (string-equal "failed" cookie) (tramp-backtrace ,vec))))))
1688 1680
1689(tramp-compat-font-lock-add-keywords 1681(tramp-compat-font-lock-add-keywords
1690 'emacs-lisp-mode '("\\<with-tramp-progress-reporter\\>")) 1682 'emacs-lisp-mode '("\\<with-tramp-progress-reporter\\>"))