diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2012-12-18 14:37:06 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2012-12-18 14:37:06 +0100 |
commit | e0d01ef3f862544762cf045a0524bdd062b98f6f (patch) | |
tree | f531c3749c1206d2c3b077f3098591dd45f81e96 /lisp/net | |
parent | 8725c07695e517965f878c4949a5731a48e89a48 (diff) | |
download | emacs-e0d01ef3f862544762cf045a0524bdd062b98f6f.tar.gz emacs-e0d01ef3f862544762cf045a0524bdd062b98f6f.tar.bz2 emacs-e0d01ef3f862544762cf045a0524bdd062b98f6f.zip |
* net/tramp.el (tramp-error-with-buffer): Give a hint to use
`tramp-cleanup-this-connection', when the process has died.
(Bug#13151)
Diffstat (limited to 'lisp/net')
-rw-r--r-- | lisp/net/tramp.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index a4be6eab41f..bc220a33b2a 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1455,6 +1455,11 @@ an input event arrives. The other arguments are passed to `tramp-error'." (or (and (bufferp buffer) buffer) (and (processp vec-or-proc) (process-buffer vec-or-proc)) (tramp-get-connection-buffer vec-or-proc))) + (when (string-equal fmt-string "Process died") + (message + "%s\n %s" + "Tramp failed to connect. If this happens repeatedly, try" + "`M-x tramp-cleanup-this-connection'")) (sit-for 30)))))) (defmacro with-parsed-tramp-file-name (filename var &rest body) |