Avoid recording passwords' chars

* lisp/cus-start.el (standard): New user custom `record-all-keys'.
* src/keyboard.c (syms_of_keyboard): Un-obsolete
`inhibit--record-char'.
* lisp/subr.el (read-passwd): Use `inhibit--record-char' to
inhibit passwords recording.
This commit is contained in:
Manuel Giraud 2022-06-14 11:14:02 +02:00 committed by Eli Zaretskii
parent ab5de9e3ee
commit f01024b94d
4 changed files with 26 additions and 6 deletions

View file

@ -398,6 +398,7 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
;; (const :tag " current dir" nil)
;; (directory :format "%v"))))
(load-prefer-newer lisp boolean "24.4")
(record-all-keys keyboard boolean)
;; minibuf.c
(minibuffer-follows-selected-frame
minibuffer (choice (const :tag "Always" t)