[notmuch] [PATCH] Look for text/html content types ignoring case
James Westby
jw+debian at jameswestby.net
Tue Feb 16 10:51:00 PST 2010
Some people send html parts as text/HTML or similar, so do a
case-sensitive comparison when checking for html parts.
---
notmuch.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index 0f4ea10..b69c334 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -736,7 +736,7 @@ is what to put on the button."
(setq mime-type (car (split-string (buffer-substring
(match-beginning 1) (match-end 1))))))
- (if (equal mime-type "text/html")
+ (if (equal (downcase mime-type) "text/html")
(let ((filename (notmuch-show-get-filename)))
(with-temp-buffer
(insert-file-contents filename nil nil nil t)
--
1.6.6.1
More information about the notmuch
mailing list