[gnus git] branch master updated: m0-5-136-g0245f2d =1= password-cache.el (password-read-and-add): Use a declare form to mark this function obsolete
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 0245f2d1eca709615e7aa4f82825489f7fef9079 (commit)
from 54c17f4e75bac400ea129fc627bec1d523a99373 (commit)
- Log -----------------------------------------------------------------
commit 0245f2d1eca709615e7aa4f82825489f7fef9079
Author: Chong Yidong <[email protected]>
Date: Tue Sep 25 09:29:16 2012 +0000
password-cache.el (password-read-and-add): Use a declare form to mark this function obsolete
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 38c384c..2befabe 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-25 Chong Yidong <[email protected]>
+
+ * password-cache.el (password-read-and-add): Use a declare form to mark
+ this function obsolete.
+
2012-09-19 Katsumi Yamaoka <[email protected]>
* lpath.el: Bind mail-encode-mml for old Emacsen.
diff --git a/lisp/password-cache.el b/lisp/password-cache.el
index 9f5c18f..83815a6 100644
--- a/lisp/password-cache.el
+++ b/lisp/password-cache.el
@@ -102,13 +102,12 @@ Warning: the password is cached without checking that it is
correct. It is better to check the password before caching. If
you must use this function, take care to check passwords and
remove incorrect ones from the cache."
+ (declare (obsolete password-read "23.1"))
(let ((password (password-read prompt key)))
(when (and password key)
(password-cache-add key password))
password))
-(make-obsolete 'password-read-and-add 'password-read "23.1")
-
(defun password-cache-remove (key)
"Remove password indexed by KEY from password cache.
This is typically run by a timer setup from `password-cache-add',
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 5 +++++
lisp/password-cache.el | 3 +--
2 files changed, 6 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project