aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-09-26 22:52:31 +0000
committerKatsumi Yamaoka2011-09-26 22:52:31 +0000
commit943399bce86a0141daacdd5d1e2f62f2362cbfe9 (patch)
tree63bd1844c4a8ee041dba6503d0d2ed3b2216edd5
parent2146e25680a961dbeca560622945b50e56800a4a (diff)
downloademacs-943399bce86a0141daacdd5d1e2f62f2362cbfe9.tar.gz
emacs-943399bce86a0141daacdd5d1e2f62f2362cbfe9.zip
nnimap.el (nnimap-insert-partial-structure): The charset parameter isn't case-sensitive.
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/nnimap.el11
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index c5aebafe35b..5b4820ca97a 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,6 +1,10 @@
12011-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * gnus-xmas.el (gnus-xmas-define): Add `member-ignore-case'.
4
3 * nnimap.el (nnimap-wait-for-response): Message less (bug#9540). 5 * nnimap.el (nnimap-wait-for-response): Message less (bug#9540).
6 (nnimap-insert-partial-structure): The charset parameter isn't
7 case-sensitive.
4 8
5 * nnheader.el (nnheader-message-maybe): New function. 9 * nnheader.el (nnheader-message-maybe): New function.
6 10
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 49cceaacf92..77372c246cb 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -672,12 +672,13 @@ textual parts.")
672 (if (consp (caar structure)) 672 (if (consp (caar structure))
673 (nnimap-insert-partial-structure (pop structure) parts t) 673 (nnimap-insert-partial-structure (pop structure) parts t)
674 (let ((bit (pop structure))) 674 (let ((bit (pop structure)))
675 (insert (format "Content-type: %s/%s" 675 (insert (format "Content-type: %s/%s"
676 (downcase (nth 0 bit)) 676 (downcase (nth 0 bit))
677 (downcase (nth 1 bit)))) 677 (downcase (nth 1 bit))))
678 (if (member "CHARSET" (nth 2 bit)) 678 (if (member-ignore-case "CHARSET" (nth 2 bit))
679 (insert (format 679 (insert (format
680 "; charset=%S\n" (cadr (member "CHARSET" (nth 2 bit))))) 680 "; charset=%S\n"
681 (cadr (member-ignore-case "CHARSET" (nth 2 bit)))))
681 (insert "\n")) 682 (insert "\n"))
682 (insert (format "Content-transfer-encoding: %s\n" 683 (insert (format "Content-transfer-encoding: %s\n"
683 (nth 5 bit))) 684 (nth 5 bit)))