]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last patch.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 21 Dec 2014 15:19:26 +0000 (16:19 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 21 Dec 2014 15:19:26 +0000 (16:19 +0100)
lisp/net/tramp.el

index fdb00c813d64fe0663bf56e2d0076d5eeea63286..7c795950bf45b64234f611ea4d74eab37875451a 100644 (file)
@@ -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)