emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e5c481b: ; Add comment to tramp-read-passwd for debugging


From: Michael Albinus
Subject: master e5c481b: ; Add comment to tramp-read-passwd for debugging
Date: Tue, 31 Aug 2021 04:09:49 -0400 (EDT)

branch: master
commit e5c481b61c26bcf83779db9fb3ac6b96bc50ab2e
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    ; 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 0973b5b..11c417f 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]