(Encoding Customization): Explain how to set
[gnus] / lisp / password.el
index e494c87..828cae9 100644 (file)
@@ -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 <simon@josefsson.org>
 ;; 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