X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fpassword-cache.el;h=523b6200b652f944a3e3161f7e6b13a09e093502;hb=1c2ed0ce5abe2181e51f777171f8cd40a547e5a9;hp=c425e0aa7e8bc020ca38317eabf18bfcf1d43721;hpb=6b6601f546f95399fee49605bd4cd186c0d99e31;p=gnus diff --git a/lisp/password-cache.el b/lisp/password-cache.el index c425e0aa7..523b6200b 100644 --- a/lisp/password-cache.el +++ b/lisp/password-cache.el @@ -1,6 +1,6 @@ ;;; password-cache.el --- Read passwords, possibly using a password cache. -;; Copyright (C) 1999-2000, 2003-2011 Free Software Foundation, Inc. +;; Copyright (C) 1999-2000, 2003-2014 Free Software Foundation, Inc. ;; Author: Simon Josefsson ;; Created: 2003-12-21 @@ -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',