aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Galbraith2005-10-18 00:51:43 +0000
committerPeter Galbraith2005-10-18 00:51:43 +0000
commitfba3b4d83332b793b923e992cb5a9b92d367d544 (patch)
tree97d09b0b272c4d8aaee8a9cf19fbfabffc553e1f
parentbd2cef663bd6d62d9c2a23817115579a39cf321f (diff)
downloademacs-fba3b4d83332b793b923e992cb5a9b92d367d544.tar.gz
emacs-fba3b4d83332b793b923e992cb5a9b92d367d544.zip
* mh-identity.el (mh-identity-field-handler): Use `assoc-ignore-case' to
compare against header field for mixed-case "From:".
-rw-r--r--lisp/mh-e/ChangeLog6
-rw-r--r--lisp/mh-e/mh-identity.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 19172f1137a..1f37898af76 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,9 @@
12005-10-17 Peter S Galbraith <psg@debian.org>
2
3 * mh-identity.el (mh-identity-field-handler): Use
4 `assoc-ignore-case' to compare against header field for mixed-case
5 "From:".
6
12005-10-17 Bill Wohler <wohler@newt.com> 72005-10-17 Bill Wohler <wohler@newt.com>
2 8
3 * mh-customize.el (mh-folder-tool-bar-map): Renamed image file 9 * mh-customize.el (mh-folder-tool-bar-map): Renamed image file
diff --git a/lisp/mh-e/mh-identity.el b/lisp/mh-e/mh-identity.el
index 1d848344897..c3f34ae75b2 100644
--- a/lisp/mh-e/mh-identity.el
+++ b/lisp/mh-e/mh-identity.el
@@ -124,7 +124,7 @@ The field name is downcased. If the FIELD begins with the character
124`:', then it must have a special handler defined in 124`:', then it must have a special handler defined in
125`mh-identity-handlers', else return an error since it is not a valid 125`mh-identity-handlers', else return an error since it is not a valid
126header field." 126header field."
127 (or (cdr (assoc (downcase field) mh-identity-handlers)) 127 (or (cdr (assoc-ignore-case field mh-identity-handlers))
128 (and (eq (aref field 0) ?:) 128 (and (eq (aref field 0) ?:)
129 (error "Field %s - unknown mh-identity-handler" field)) 129 (error "Field %s - unknown mh-identity-handler" field))
130 (cdr (assoc ":default" mh-identity-handlers)) 130 (cdr (assoc ":default" mh-identity-handlers))