mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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
This commit is contained in:
parent
3d1bcfba5e
commit
b1cd1f0b5a
1 changed files with 2 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue