aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/tramp.el3
1 files changed, 2 insertions, 1 deletions
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."
3088 (with-parsed-tramp-file-name filename nil 3088 (with-parsed-tramp-file-name filename nil
3089 (unwind-protect 3089 (unwind-protect
3090 (if (not (file-exists-p filename)) 3090 (if (not (file-exists-p filename))
3091 (tramp-message v 0 "(New file)") 3091 (tramp-error
3092 v 'file-error "File `%s' not found on remote host" filename)
3092 3093
3093 (with-tramp-progress-reporter 3094 (with-tramp-progress-reporter
3094 v 3 (format "Inserting `%s'" filename) 3095 v 3 (format "Inserting `%s'" filename)