guile: Fix the mu:body message method
Somewhere along the way, the body-txt and body-html fields were merged
into a single body field. Later, commit 8eac392221 ("guile: re-enable
the guile support") finally removed support for Field::Id::BodyHtml from
mu:c:get-field.
Unfortunately mu.scm and the documentation are still stuck in the past, so
update them. mu:body-txt is now a synonym for mu:body, and mu:body-html
always returns #f.
I wanted to add a mu:body test also for the rfc822.1 message, but there's
currently a bug where its body text is is duplicated (issue #2802), so the
test would fail.
This commit is contained in:
@ -391,8 +391,7 @@ properties, please refer to the @t{mu-find} man-page.
|
||||
|
||||
@itemize
|
||||
@item @code{(mu:bcc msg)}: the @t{Bcc} field of the message, or @t{#f} if there is none
|
||||
@item @code{(mu:body-html msg)}: : the html body of the message, or @t{#f} if there is none
|
||||
@item @code{(mu:body-txt msg)}: the plain-text body of the message, or @t{#f} if there is none
|
||||
@item @code{(mu:body msg)}: the body of the message, or @t{#f} if there is none
|
||||
@item @code{(mu:cc msg)}: the @t{Bcc} field of the message, or @t{#f} if there is none
|
||||
@item @code{(mu:date msg)}: the @t{Date} field of the message, or 0 if there is none
|
||||
@item @code{(mu:flags msg)}: list of message-flags for this message
|
||||
|
||||
Reference in New Issue
Block a user