summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 0973b5b4445..11c417f832e 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -5590,6 +5590,9 @@ verbosity of 6."
(string-prefix-p comm process-name)
(throw 'result t)))))))
+;; When calling "emacs -Q", `auth-source-search' won't be called. If
+;; you want to debug exactly this case, call "emacs -Q --eval '(setq
+;; tramp-cache-read-persistent-data t)'" instead.
(defun tramp-read-passwd (proc &optional prompt)
"Read a password from user (compat function).
Consults the auth-source package.