2006-03-26 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
authorSimon Josefsson <jas@extundo.com>
Mon, 27 Mar 2006 09:39:48 +0000 (09:39 +0000)
committerSimon Josefsson <jas@extundo.com>
Mon, 27 Mar 2006 09:39:48 +0000 (09:39 +0000)
* hashcash.el (hashcash-already-paid-p): Bind case-fold-search
when searching for already-paid recipients.

lisp/ChangeLog
lisp/hashcash.el

index 669505a..c1226e3 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-26  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>
+
+       * hashcash.el (hashcash-already-paid-p): Bind case-fold-search
+       when searching for already-paid recipients.
+
 2006-03-27  Daiki Ueno  <ueno@unixuser.org>
 
        * pgg-gpg.el: Invoke gpg asynchronous, to avoid querying for
index e4745b4..ac2e4a4 100644 (file)
@@ -210,7 +210,8 @@ Return immediately.  Call CALLBACK with process and result when ready."
   (save-excursion
     (save-restriction
       (message-narrow-to-headers-or-head)
-      (let ((token (message-fetch-field "x-hashcash")))
+      (let ((token (message-fetch-field "x-hashcash"))
+           (case-fold-search t))
        (and (stringp token)
             (string-match (regexp-quote recipient) token))))))