[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b1cd1f0: Improve password-cache-add example in comment
From: |
Paul Eggert |
Subject: |
master b1cd1f0: Improve password-cache-add example in comment |
Date: |
Mon, 18 May 2020 18:47:30 -0400 (EDT) |
branch: master
commit b1cd1f0b5aaf8030a7a4c6111cc8b18645f294e2
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Improve password-cache-add example in comment
* lisp/password-cache.el: Improve comment. See Andreas Schwab in:
https://lists.gnu.org/r/emacs-devel/2020-05/msg02422.html
---
lisp/password-cache.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/password-cache.el b/lisp/password-cache.el
index 86d802f..f500757 100644
--- a/lisp/password-cache.el
+++ b/lisp/password-cache.el
@@ -31,7 +31,8 @@
;; ;; Minibuffer prompt for password.
;; => "foo"
;;
-;; (password-cache-add "test" (copy-sequence "foo"))
+;; (password-cache-add "test" (read-passwd "Password? "))
+;; ;; Minibuffer prompt from read-passwd, which returns "foo".
;; => nil
;; (password-read "Password? " "test")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b1cd1f0: Improve password-cache-add example in comment,
Paul Eggert <=