summaryrefslogtreecommitdiff
path: root/lisp/password-cache.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/password-cache.el')
-rw-r--r--lisp/password-cache.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/password-cache.el b/lisp/password-cache.el
index 5e5f3240bc3..f5007579a8a 100644
--- a/lisp/password-cache.el
+++ b/lisp/password-cache.el
@@ -31,7 +31,8 @@
;; ;; Minibuffer prompt for password.
;; => "foo"
;;
-;; (password-cache-add "test" "foo")
+;; (password-cache-add "test" (read-passwd "Password? "))
+;; ;; Minibuffer prompt from read-passwd, which returns "foo".
;; => nil
;; (password-read "Password? " "test")