X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fpassword.el;h=828cae991e618deaa9f222071e8678aba974442d;hb=4f8a34929d9635cef317a56c994504d1d935bfbf;hp=e494c870aba733a83fb521dd0fc4ee70a3b7eab1;hpb=0669d2c1a9729ea886477a4db11bd303d3e41e2c;p=gnus diff --git a/lisp/password.el b/lisp/password.el index e494c870a..828cae991 100644 --- a/lisp/password.el +++ b/lisp/password.el @@ -1,6 +1,6 @@ ;;; password.el --- Read passwords from user, possibly using a password cache. -;; Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +;; Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ;; Author: Simon Josefsson ;; Created: 2003-12-21 @@ -59,9 +59,6 @@ ;;; Code: -(when (featurep 'xemacs) - (require 'timer-funcs)) - (eval-when-compile (require 'cl)) @@ -130,6 +127,11 @@ seconds." (set (intern key password-data) password) nil) +(defun password-reset () + "Clear the password cache." + (interactive) + (fillarray password-data 0)) + (provide 'password) ;;; arch-tag: ab160494-16c8-4c68-a4a1-73eebf6686e5