summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-08 22:07:17 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-08 22:07:17 +0200
commite90054bc3105feaba6544b214ecd60980e8a8722 (patch)
tree36f55a3300edc86cfb20712281b32aa9047feb72 /lisp
parent3e5259a268d423ef3b6a0ffcfe05ac623bbe7f25 (diff)
downloademacs-e90054bc3105feaba6544b214ecd60980e8a8722.tar.gz
emacs-e90054bc3105feaba6544b214ecd60980e8a8722.tar.bz2
emacs-e90054bc3105feaba6544b214ecd60980e8a8722.zip
Doc string update for tramp-password-prompt-regexp
* lisp/net/tramp.el (tramp-password-prompt-regexp): Mention password-word-equivalents in the doc string.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp.el5
1 files changed, 5 insertions, 0 deletions
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)