emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 902029b1410: * lisp/auth-source.el (read-passwd): Remove entry


From: Michael Albinus
Subject: emacs-30 902029b1410: * lisp/auth-source.el (read-passwd): Remove entry from `post-command-hook'.
Date: Sat, 19 Oct 2024 06:36:56 -0400 (EDT)

branch: emacs-30
commit 902029b1410ef9128380f9a307721ea6ab008529
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    * 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]