From 902029b1410ef9128380f9a307721ea6ab008529 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 19 Oct 2024 12:36:32 +0200 Subject: [PATCH] * lisp/auth-source.el (read-passwd): Remove entry from `post-command-hook'. --- lisp/auth-source.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/auth-source.el b/lisp/auth-source.el index 557d360bc6a..1e0cde75583 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el @@ -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.