]> git.eshelyaron.com Git - emacs.git/commitdiff
auth-source-search doc string fix
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Jan 2021 10:10:26 +0000 (11:10 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Jan 2021 10:18:01 +0000 (11:18 +0100)
* lisp/auth-source.el (auth-source-search): Fix example (bug#36286).

lisp/auth-source.el

index ad3b690dfa6301f738cc30cc4c2fba5dbcafad24..2494040457b8695aee8842575c3506679a8dc929 100644 (file)
@@ -588,7 +588,7 @@ Here's an example:
 \(let ((auth-source-creation-defaults \\='((user . \"defaultUser\")
                                         (A    . \"default A\")))
        (auth-source-creation-prompts
-        \\='((password . \"Enter IMAP password for %h:%p: \"))))
+        \\='((secret . \"Enter IMAP password for %h:%p: \"))))
   (auth-source-search :host \\='(\"nonesuch\" \"twosuch\") :type \\='netrc :max 1
                       :P \"pppp\" :Q \"qqqq\"
                       :create \\='(A B Q)))