Doc string update for tramp-password-prompt-regexp

* lisp/net/tramp.el (tramp-password-prompt-regexp): Mention
password-word-equivalents in the doc string.
This commit is contained in:
Lars Ingebrigtsen 2020-09-08 22:07:17 +02:00
parent 3e5259a268
commit e90054bc31

View file

@ -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)