From 9f2798db4aeb57280882a219d419c6b78ce144fc Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 5 Apr 2006 11:15:11 +0000 Subject: [PATCH] 2006-04-05 Simon Josefsson * password.el (password-reset): New function. --- lisp/ChangeLog | 4 ++++ lisp/password.el | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c0808dc97..3838aab29 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2006-04-05 Simon Josefsson + + * password.el (password-reset): New function. + 2006-04-05 Daiki Ueno * pgg-gpg.el (pgg-gpg-encrypt-region, pgg-gpg-sign-region): Wait diff --git a/lisp/password.el b/lisp/password.el index e494c870a..944426259 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 @@ -130,6 +130,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 -- 2.25.1