|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] master d3437ea: Replace some obsolete functions in gnus |
Date: | Sat, 03 Mar 2018 23:56:25 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (let ((passphrase > - (password-read-and-add > + (password-read > "Passphrase for secret key (RET for no passphrase): " cache-key))) > (if (string= passphrase "") > nil > + (and passphrase cache-key (password-cache-add cache-key passphrase)) > passphrase))) Shouldn't we wait 'til we have confirmation that the password is correct before calling password-cache-add? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |