From: Lars Ingebrigtsen Date: Tue, 8 Sep 2020 20:07:17 +0000 (+0200) Subject: Doc string update for tramp-password-prompt-regexp X-Git-Tag: emacs-28.0.90~6182 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e90054bc3105feaba6544b214ecd60980e8a8722;p=emacs.git Doc string update for tramp-password-prompt-regexp * lisp/net/tramp.el (tramp-password-prompt-regexp): Mention password-word-equivalents in the doc string. --- 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)