1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

* lisp/auth-source.el (read-passwd): Remove entry from `post-command-hook'.

This commit is contained in:
Michael Albinus 2024-10-19 12:36:32 +02:00
parent a61bf74225
commit 902029b141

View File

@ -2599,7 +2599,7 @@ by doing (clear-string STRING)."
;; Not sure why but it seems that there might be cases where the
;; minibuffer is not always properly reset later on, so undo
;; whatever we've done here (bug#11392).
(remove-hook 'after-change-functions
(remove-hook 'post-command-hook
#'read-passwd--hide-password 'local)
(kill-local-variable 'post-self-insert-hook)
;; And of course, don't keep the sensitive data around.