summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2023-03-19 09:37:35 +0100
committerMichael Albinus <michael.albinus@gmx.de>2023-03-19 09:37:35 +0100
commit231190b37f811933dc7da608fc442439d7b6acb1 (patch)
treef47b109269e4626633f7e18f5f10b3e858e5a754
parent0bebd0e5f09b6fbed2e54f9b8464e93bdd6ad11e (diff)
downloademacs-231190b37f811933dc7da608fc442439d7b6acb1.tar.gz
* lisp/net/tramp.el (tramp-yn-prompt-regexp): Fix regexp.
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index b24bd33de82..df2f0850b83 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -684,7 +684,7 @@ See also `tramp-yn-prompt-regexp'."
:type 'regexp)
(defcustom tramp-yn-prompt-regexp
- (rx (| "Store key in cache? (y/n)"
+ (rx (| (: "Store key in cache? (y/n" (* nonl) ")")
"Update cached key? (y/n, Return cancels connection)")
(* blank))
"Regular expression matching all y/n queries which need to be confirmed.