Adapt Tramp doc

* doc/misc/tramp.texi (Remote shell setup):
Mention password-word-equivalents.

* lisp/net/tramp.el (tramp-password-prompt-regexp): Fix docstring.
This commit is contained in:
Michael Albinus 2020-09-09 19:29:18 +02:00
parent 482fa0d9ed
commit 9de9976de0
2 changed files with 7 additions and 1 deletions

View file

@ -2280,6 +2280,12 @@ example below:
@end group
@end lisp
@vindex password-word-equivalents
This variable is, by default, initialised from
@code{password-word-equivalents} when @value{tramp} is loaded, and it
is usually more convenient to add new passphrases to that variable
instead of altering this variable.
Similar localization may be necessary for handling wrong password
prompts, for which @value{tramp} uses @code{tramp-wrong-passwd-regexp}.

View file

@ -585,7 +585,7 @@ This regexp must match both `tramp-initial-end-of-output' and
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
`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.