* lisp/auth-source.el (read-passwd): Remove entry from `post-command-hook'.
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 19 Oct 2024 10:36:32 +0000 (12:36 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 19 Oct 2024 10:36:32 +0000 (12:36 +0200)
lisp/auth-source.el

index 557d360bc6af18758c5844c4a6a9a8c0b61eb303..1e0cde7558328c131a739cddf3612d37d3c92e22 100644 (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.