summaryrefslogtreecommitdiff
path: root/lisp/net/tramp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/tramp.el')
-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 959a0e74352..21757465fad 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -4691,10 +4691,11 @@ Wait, until the connection buffer changes."
(goto-char (point-min))
(tramp-check-for-regexp proc tramp-process-action-regexp)
(with-temp-message (replace-regexp-in-string "[\r\n]" "" (match-string 0))
+ (redisplay 'force)
;; Hide message in buffer.
(narrow-to-region (point-max) (point-max))
;; Wait for new output.
- (tramp-wait-for-regexp proc 30 "."))
+ (tramp-wait-for-regexp proc 30 tramp-security-key-confirmed-regexp))
;; Reenable the timers.
(with-timeout-unsuspend stimers)))
t)