From: Michael Albinus Date: Mon, 2 Jun 2014 14:17:07 +0000 (+0200) Subject: * net/tramp.el (with-tramp-progress-reporter): Complete previous patch. X-Git-Tag: emacs-25.0.90~2639^2~148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd9fba8bd3bcf457a84726b8451edece7a603d6e;p=emacs.git * net/tramp.el (with-tramp-progress-reporter): Complete previous patch. --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index d5678d826b6..deb89ed5894 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1676,7 +1676,10 @@ without a visible progress reporter." (prog1 (condition-case err (progn ,@body) - (error (tramp-message ,vec 6 "%s" (error-message-string err)))) + (error + (tramp-message ,vec 6 "%s" (error-message-string err)) + ;; Propagate the error. + (signal (car err) (cdr err)))) (setq cookie "done")) ;; Stop progress reporter. (if tm (tramp-compat-funcall 'cancel-timer tm))