diff options
Diffstat (limited to 'lisp/net/tramp-gw.el')
-rw-r--r-- | lisp/net/tramp-gw.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/net/tramp-gw.el b/lisp/net/tramp-gw.el index 63dfd105f1c..a550d46b9b5 100644 --- a/lisp/net/tramp-gw.el +++ b/lisp/net/tramp-gw.el @@ -243,10 +243,9 @@ authentication is requested from proxy server, provide it." ;; Trap errors to be traced in the right trace buffer. Often, ;; proxies have a timeout of 60". We wait 65" in order to ;; receive an answer this case. - (condition-case nil - (let (tramp-verbose) - (tramp-wait-for-regexp proc 65 "\r?\n\r?\n")) - (error nil)) + (ignore-errors + (let (tramp-verbose) + (tramp-wait-for-regexp proc 65 "\r?\n\r?\n"))) ;; Check return code. (goto-char (point-min)) (narrow-to-region |