]> git.cworth.org Git - obsolete/notmuch-old/commit
show: Convert show_message to use sprinter
authorAustin Clements <amdragon@MIT.EDU>
Fri, 3 Aug 2012 01:14:57 +0000 (21:14 -0400)
committerDavid Bremner <bremner@debian.org>
Fri, 3 Aug 2012 23:37:20 +0000 (20:37 -0300)
commit305a7ade1e20e162ff71a007e414ca301e4b90f5
tree4a2e6798d87ef20bf1e0b4a725db26a24080a3e8
parent26ba4abe535f5757d280401bc7de1cfacbd081b5
show: Convert show_message to use sprinter

Unlike the previous patches, this function is used for all formats.
However, for formats other than the JSON format, the sprinter methods
used by show_message are all no-ops, so this code continues to
function correctly for all of the formats.

Converting show_message eliminates show_null_message in the process,
since this maps directly to an sprinter method.
notmuch-show.c