2011-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * gnus-xmas.el (gnus-xmas-define): Add `member-ignore-case'.
+
* nnimap.el (nnimap-wait-for-response): Message less (bug#9540).
+ (nnimap-insert-partial-structure): The charset parameter isn't
+ case-sensitive.
* nnheader.el (nnheader-message-maybe): New function.
(if (consp (caar structure))
(nnimap-insert-partial-structure (pop structure) parts t)
(let ((bit (pop structure)))
- (insert (format "Content-type: %s/%s"
- (downcase (nth 0 bit))
- (downcase (nth 1 bit))))
- (if (member "CHARSET" (nth 2 bit))
+ (insert (format "Content-type: %s/%s"
+ (downcase (nth 0 bit))
+ (downcase (nth 1 bit))))
+ (if (member-ignore-case "CHARSET" (nth 2 bit))
(insert (format
- "; charset=%S\n" (cadr (member "CHARSET" (nth 2 bit)))))
+ "; charset=%S\n"
+ (cadr (member-ignore-case "CHARSET" (nth 2 bit)))))
(insert "\n"))
(insert (format "Content-transfer-encoding: %s\n"
(nth 5 bit)))