From: Michael Albinus Date: Sat, 19 Oct 2024 10:36:32 +0000 (+0200) Subject: * lisp/auth-source.el (read-passwd): Remove entry from `post-command-hook'. X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~341 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=902029b1410ef9128380f9a307721ea6ab008529;p=emacs.git * lisp/auth-source.el (read-passwd): Remove entry from `post-command-hook'. --- 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.