From: Michael Albinus Date: Sun, 21 Dec 2014 15:19:26 +0000 (+0100) Subject: Fix last patch. X-Git-Tag: emacs-24.4.90~122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=936d5e5;p=emacs.git Fix last patch. --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index fdb00c813d6..7c795950bf4 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -3088,7 +3088,8 @@ User is always nil." (with-parsed-tramp-file-name filename nil (unwind-protect (if (not (file-exists-p filename)) - (tramp-message v 0 "(New file)") + (tramp-error + v 'file-error "File `%s' not found on remote host" filename) (with-tramp-progress-reporter v 3 (format "Inserting `%s'" filename)