mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
* lisp/subr.el (read-passwd): Don't delete return value (Bug#22027).
This commit is contained in:
parent
3632633cab
commit
882f81fdb4
@ -2268,7 +2268,7 @@ by doing (clear-string STRING)."
|
||||
(second (read-passwd "Confirm password: " nil default)))
|
||||
(if (equal first second)
|
||||
(progn
|
||||
(and (arrayp second) (clear-string second))
|
||||
(and (arrayp second) (not (eq first second)) (clear-string second))
|
||||
(setq success first))
|
||||
(and (arrayp first) (clear-string first))
|
||||
(and (arrayp second) (clear-string second))
|
||||
|
Loading…
Reference in New Issue
Block a user