* mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case' to
authorPeter Galbraith <galbraith@mixing.qc.dfo.ca>
Tue, 18 Oct 2005 00:51:43 +0000 (00:51 +0000)
committerPeter Galbraith <galbraith@mixing.qc.dfo.ca>
Tue, 18 Oct 2005 00:51:43 +0000 (00:51 +0000)
compare against header field for mixed-case "From:".

lisp/mh-e/ChangeLog
lisp/mh-e/mh-identity.el

index 19172f1..1f37898 100644 (file)
@@ -1,3 +1,9 @@
+2005-10-17  Peter S Galbraith  <psg@debian.org>
+
+       * mh-identity.el (mh-identity-field-handler): Use
+       `assoc-ignore-case' to compare against header field for mixed-case
+       "From:".
+
 2005-10-17  Bill Wohler  <wohler@newt.com>
 
        * mh-customize.el (mh-folder-tool-bar-map): Renamed image file
index 1d84834..c3f34ae 100644 (file)
@@ -124,7 +124,7 @@ The field name is downcased. If the FIELD begins with the character
 `:', then it must have a special handler defined in
 `mh-identity-handlers', else return an error since it is not a valid
 header field."
-  (or (cdr (assoc (downcase field) mh-identity-handlers))
+  (or (cdr (assoc-ignore-case field mh-identity-handlers))
       (and (eq (aref field 0) ?:)
            (error "Field %s - unknown mh-identity-handler" field))
       (cdr (assoc ":default" mh-identity-handlers))