emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/net/tramp.el


From: Sam Steingold
Subject: [Emacs-diffs] Changes to emacs/lisp/net/tramp.el
Date: Wed, 08 Feb 2006 15:47:32 +0000

Index: emacs/lisp/net/tramp.el
diff -u emacs/lisp/net/tramp.el:1.87 emacs/lisp/net/tramp.el:1.88
--- emacs/lisp/net/tramp.el:1.87        Mon Feb  6 11:33:04 2006
+++ emacs/lisp/net/tramp.el     Wed Feb  8 15:47:31 2006
@@ -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)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]