# HG changeset patch # User Sam Steingold # Date 1139413651 0 # Node ID 74a3e3db07594fcc7bfa244d8adcdba2a5eea30a # Parent e59bf34a8b21fb5b6511a8d65ea6bd2df729cdc5 (tramp-maybe-open-connection): Do not wait for output from a dead connection. diff -r e59bf34a8b21 -r 74a3e3db0759 lisp/ChangeLog --- a/lisp/ChangeLog Wed Feb 08 14:32:40 2006 +0000 +++ b/lisp/ChangeLog Wed Feb 08 15:47:31 2006 +0000 @@ -1,3 +1,8 @@ +2006-02-08 Sam Steingold + + * net/tramp.el (tramp-maybe-open-connection): Do not wait for + output from a dead connection. + 2006-02-07 Mathias Dahl * dired.el (dired-mode-map): Add more bindings for tumme. @@ -351,7 +356,7 @@ * international/latexenc.el: Add a suitable `coding:' tag. (latexenc-find-file-coding-system): Undo last change. -2006-01-27 Arne J,bx(Brgensen +2006-01-27 Arne J,Ax(Brgensen * international/latexenc.el (latexenc-find-file-coding-system): Make sure latexenc-main-file is a regular file and is readable. diff -r e59bf34a8b21 -r 74a3e3db0759 lisp/net/tramp.el --- a/lisp/net/tramp.el Wed Feb 08 14:32:40 2006 +0000 +++ b/lisp/net/tramp.el Wed Feb 08 15:47:31 2006 +0000 @@ -6482,7 +6482,8 @@ p (processp p) (memq (process-status p) '(run open))) (tramp-send-command multi-method method user host "echo are you awake" nil t) - (unless (tramp-wait-for-output 10) + (unless (and (memq (process-status p) '(run open)) + (tramp-wait-for-output 10)) (delete-process p) (setq p nil)) (erase-buffer)))