]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/tramp.el (tramp-yn-prompt-regexp): Fix regexp.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 19 Mar 2023 08:37:35 +0000 (09:37 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 19 Mar 2023 08:37:35 +0000 (09:37 +0100)
lisp/net/tramp.el

index b24bd33de826efb7de331ded4ffabfa189ad0101..df2f0850b8313a3f77674ae664d425ce3ed88820 100644 (file)
@@ -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.