From e5c481b61c26bcf83779db9fb3ac6b96bc50ab2e Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 31 Aug 2021 10:09:38 +0200 Subject: [PATCH] ; Add comment to tramp-read-passwd for debugging --- lisp/net/tramp.el | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.39.2