From: David Edmondson Date: Tue, 8 Mar 2016 17:12:59 +0000 (+0000) Subject: emacs: Improve the acquisition of text parts. X-Git-Tag: 0.22_rc0~26 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=c41d0db077f295c92b01b69ed001afa233b7d0f0;hp=c41d0db077f295c92b01b69ed001afa233b7d0f0;p=notmuch emacs: Improve the acquisition of text parts. `notmuch-get-bodypart-text' assumed that it is always possible to acquire text/* parts via the sexp output format. This is not true if the part in question has a content type of application/octet-stream but is being interpreted as text/* based on the extension of the part filename. Rework `notmuch-get-bodypart-text' to use the raw output format to address this and make the implementation common with that of `notmuch-get-bodypart-binary'. ---