aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2014-06-02 20:36:47 +0200
committerMichael Albinus2014-06-02 20:36:47 +0200
commite915914b937f0190d77fc1490dfd7b543dd3c217 (patch)
tree9271b758088c78a5d1d6df13d06063faee7d27bf
parent5668fb88bf3731d39c4e958c8e79a549f789ce1e (diff)
downloademacs-e915914b937f0190d77fc1490dfd7b543dd3c217.tar.gz
emacs-e915914b937f0190d77fc1490dfd7b543dd3c217.zip
* net/tramp.el (with-tramp-progress-reporter): Remove traces.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/net/tramp.el12
2 files changed, 3 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dff574972a4..d6216918843 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,6 @@
12014-06-02 Michael Albinus <michael.albinus@gmx.de> 12014-06-02 Michael Albinus <michael.albinus@gmx.de>
2 2
3 * net/tramp.el (with-tramp-progress-reporter, tramp-call-process): 3 * net/tramp.el (tramp-call-process): Add traces.
4 Add traces.
5 (tramp-handle-unhandled-file-name-directory): Return "/". 4 (tramp-handle-unhandled-file-name-directory): Return "/".
6 5
72014-06-02 Wilson Snyder <wsnyder@wsnyder.org> 62014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
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\\>"))