Use lexical-binding in password-cache.el and add tests

* lisp/password-cache.el: Use lexical-binding.
* test/lisp/password-cache-tests.el: New file.
This commit is contained in:
Stefan Kangas 2019-06-09 09:18:46 -07:00 committed by Paul Eggert
parent 179b9c44c5
commit 1af27a1784
3 changed files with 78 additions and 3 deletions

View file

@ -33,7 +33,7 @@
;;; TODO:
;; 1. Warn about functions marked as obsolete, eg
;; password-read-and-add in smime.el.
;; password-read-and-add in password-cache.el.
;; 2. defmethod, defclass argument checking.
;; 3. defclass also defines -p and -child-p.