From 9de9976de003b94d7496a55d4d643ac31514d520 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 9 Sep 2020 19:29:18 +0200 Subject: [PATCH] Adapt Tramp doc * doc/misc/tramp.texi (Remote shell setup): Mention password-word-equivalents. * lisp/net/tramp.el (tramp-password-prompt-regexp): Fix docstring. --- doc/misc/tramp.texi | 6 ++++++ lisp/net/tramp.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index bdf3b403d80..538f85f35da 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -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}. diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 2ae28b8758f..7fd48b29a9f 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -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. -- 2.39.5