From e90054bc3105feaba6544b214ecd60980e8a8722 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 8 Sep 2020 22:07:17 +0200 Subject: [PATCH] Doc string update for tramp-password-prompt-regexp * lisp/net/tramp.el (tramp-password-prompt-regexp): Mention password-word-equivalents in the doc string. --- lisp/net/tramp.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 96446399dd6..2ae28b8758f 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -584,6 +584,11 @@ This regexp must match both `tramp-initial-end-of-output' and "Regexp matching password-like prompts. The regexp should match at end of buffer. +This variable is, by default, initialised from +`password-word-equivalents' when tramp is loaded, and it is +usually more convenient to add new passphrases to that variable +instead of altering this variable. + The `sudo' program appears to insert a `^@' character into the prompt." :version "24.4" :type 'regexp) -- 2.39.5