* net/tramp.el (with-tramp-progress-reporter): Remove traces.

This commit is contained in:
Michael Albinus 2014-06-02 20:36:47 +02:00
parent 5668fb88bf
commit e915914b93
2 changed files with 3 additions and 12 deletions

View file

@ -1,7 +1,6 @@
2014-06-02 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (with-tramp-progress-reporter, tramp-call-process):
Add traces.
* net/tramp.el (tramp-call-process): Add traces.
(tramp-handle-unhandled-file-name-directory): Return "/".
2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>

View file

@ -1673,18 +1673,10 @@ without a visible progress reporter."
#'tramp-progress-reporter-update pr)))))))
(unwind-protect
;; Execute the body.
(prog1
(condition-case err
(progn ,@body)
(error
(tramp-message ,vec 6 "%s" (error-message-string err))
;; Propagate the error.
(signal (car err) (cdr err))))
(setq cookie "done"))
(prog1 (progn ,@body) (setq cookie "done"))
;; Stop progress reporter.
(if tm (tramp-compat-funcall 'cancel-timer tm))
(tramp-message ,vec ,level "%s...%s" ,message cookie)
(when (string-equal "failed" cookie) (tramp-backtrace ,vec))))))
(tramp-message ,vec ,level "%s...%s" ,message cookie)))))
(tramp-compat-font-lock-add-keywords
'emacs-lisp-mode '("\\<with-tramp-progress-reporter\\>"))