]> git.eshelyaron.com Git - emacs.git/commitdiff
; Add comment to tramp-read-passwd for debugging
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 31 Aug 2021 08:09:38 +0000 (10:09 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 31 Aug 2021 08:09:38 +0000 (10:09 +0200)
lisp/net/tramp.el

index 0973b5b4445bda706b89aee78cb7f9f6e21803cd..11c417f832e63b3d5785cf674864dc49b60215b2 100644 (file)
@@ -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.